From 242ba539039d678e1850dbcf034f4f090d6c1ecc Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 8 Nov 2022 12:29:01 -0500 Subject: [PATCH] feat: add support for `google.cloud.apigee_registry.__version__` (#46) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: update to gapic-generator-python 1.5.0 feat: add support for `google.cloud..__version__` PiperOrigin-RevId: 484665853 Source-Link: https://github.com/googleapis/googleapis/commit/8eb249a19db926c2fbc4ecf1dc09c0e521a88b22 Source-Link: https://github.com/googleapis/googleapis-gen/commit/c8aa327b5f478865fc3fd91e3c2768e54e26ad44 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 Co-authored-by: Anthonios Partheniou --- .../.github/release-please.yml | 1 + .../.release-please-manifest.json | 3 + .../google-cloud-apigee-registry/docs/conf.py | 2 +- .../google/cloud/apigee_registry/__init__.py | 147 + .../cloud/apigee_registry/gapic_version.py | 16 + .../google/cloud/apigee_registry/py.typed | 2 + .../cloud/apigee_registry_v1/__init__.py | 113 +- .../services/provisioning/__init__.py | 2 +- .../services/provisioning/async_client.py | 12 +- .../services/provisioning/client.py | 17 +- .../provisioning/transports/__init__.py | 4 +- .../services/provisioning/transports/base.py | 14 +- .../services/provisioning/transports/grpc.py | 17 +- .../provisioning/transports/grpc_asyncio.py | 19 +- .../services/provisioning/transports/rest.py | 39 +- .../services/registry/__init__.py | 2 +- .../services/registry/async_client.py | 15 +- .../services/registry/client.py | 20 +- .../services/registry/pagers.py | 7 +- .../services/registry/transports/__init__.py | 4 +- .../services/registry/transports/base.py | 13 +- .../services/registry/transports/grpc.py | 18 +- .../registry/transports/grpc_asyncio.py | 20 +- .../services/registry/transports/rest.py | 33 +- .../apigee_registry_v1/types/__init__.py | 8 +- .../types/provisioning_service.py | 4 +- .../types/registry_models.py | 4 +- .../types/registry_service.py | 3 +- .../google-cloud-apigee-registry/noxfile.py | 1 + .../google-cloud-apigee-registry/owlbot.py | 29 +- .../release-please-config.json | 18 + ...visioning_create_instance_sync_99c0616d.py | 61 - ...visioning_create_instance_sync_db60b650.py | 61 - ...visioning_delete_instance_sync_1791bfe4.py | 56 - ...visioning_delete_instance_sync_8fbcb629.py | 56 - ...provisioning_get_instance_sync_7c15b370.py | 52 - ...provisioning_get_instance_sync_d52a931d.py | 52 - ...try_create_api_deployment_sync_51197a3c.py | 53 - ...try_create_api_deployment_sync_ed13f1bd.py | 53 - ..._registry_create_api_spec_sync_13d906f3.py | 53 - ..._registry_create_api_spec_sync_8c746412.py | 53 - ...rated_registry_create_api_sync_a80ac305.py | 53 - ...rated_registry_create_api_sync_eaa94940.py | 53 - ...gistry_create_api_version_sync_3949e992.py | 53 - ...gistry_create_api_version_sync_68e37c0b.py | 53 - ..._registry_create_artifact_sync_1fc1b003.py | 53 - ..._registry_create_artifact_sync_8b3636ad.py | 53 - ...e_api_deployment_revision_sync_3823da5c.py | 52 - ...e_api_deployment_revision_sync_9d74aad9.py | 52 - ...try_delete_api_deployment_sync_3cfb1726.py | 50 - ...try_delete_api_deployment_sync_9b8bc191.py | 50 - ..._delete_api_spec_revision_sync_4ccdbbe6.py | 52 - ..._delete_api_spec_revision_sync_ab064abb.py | 52 - ..._registry_delete_api_spec_sync_5db34200.py | 50 - ..._registry_delete_api_spec_sync_f7ac362c.py | 50 - ...rated_registry_delete_api_sync_8e52d6a8.py | 50 - ...rated_registry_delete_api_sync_9a975a2a.py | 50 - ...gistry_delete_api_version_sync_2e9f3456.py | 50 - ...gistry_delete_api_version_sync_ce0fedd8.py | 50 - ..._registry_delete_artifact_sync_168c00e8.py | 50 - ..._registry_delete_artifact_sync_6040b0d2.py | 50 - ...gistry_get_api_deployment_sync_5ec8f12d.py | 52 - ...gistry_get_api_deployment_sync_66cd0b3b.py | 52 - ...try_get_api_spec_contents_sync_5d46947a.py | 52 - ...try_get_api_spec_contents_sync_b7eb863b.py | 52 - ...ted_registry_get_api_spec_sync_171cad6f.py | 52 - ...ted_registry_get_api_spec_sync_ba1c8941.py | 52 - ...enerated_registry_get_api_sync_b7474ce3.py | 52 - ...enerated_registry_get_api_sync_bc7358db.py | 52 - ..._registry_get_api_version_sync_396c76c5.py | 52 - ..._registry_get_api_version_sync_e2ce574f.py | 52 - ...try_get_artifact_contents_sync_360dea88.py | 52 - ...try_get_artifact_contents_sync_cf55f89d.py | 52 - ...ted_registry_get_artifact_sync_01903acd.py | 52 - ...ted_registry_get_artifact_sync_d59167c3.py | 52 - ..._api_deployment_revisions_sync_64bfc8ef.py | 53 - ..._api_deployment_revisions_sync_8cccd09c.py | 53 - ...stry_list_api_deployments_sync_6c6142af.py | 53 - ...stry_list_api_deployments_sync_ff8eaca4.py | 53 - ...y_list_api_spec_revisions_sync_88824047.py | 53 - ...y_list_api_spec_revisions_sync_a18db05b.py | 53 - ...d_registry_list_api_specs_sync_39e8acac.py | 53 - ...d_registry_list_api_specs_sync_e8873dfe.py | 53 - ...egistry_list_api_versions_sync_6a0f8cf5.py | 53 - ...egistry_list_api_versions_sync_8f9fa9ae.py | 53 - ...erated_registry_list_apis_sync_ea1d3b9f.py | 53 - ...erated_registry_list_apis_sync_f3bb4616.py | 53 - ...d_registry_list_artifacts_sync_91f547f9.py | 53 - ...d_registry_list_artifacts_sync_9a6d51c6.py | 53 - ...registry_replace_artifact_sync_a507619e.py | 51 - ...registry_replace_artifact_sync_e3f2bedb.py | 51 - ...y_rollback_api_deployment_sync_947d4cf2.py | 53 - ...y_rollback_api_deployment_sync_d5d9719b.py | 53 - ...egistry_rollback_api_spec_sync_9eeca7ec.py | 53 - ...egistry_rollback_api_spec_sync_c6c8d091.py | 53 - ...g_api_deployment_revision_sync_174bf899.py | 53 - ...g_api_deployment_revision_sync_d989b918.py | 53 - ...try_tag_api_spec_revision_sync_a6fdf1e7.py | 53 - ...try_tag_api_spec_revision_sync_ffcb0393.py | 53 - ...try_update_api_deployment_sync_7711f86e.py | 51 - ...try_update_api_deployment_sync_ef7fd49e.py | 51 - ..._registry_update_api_spec_sync_33f2f0c7.py | 51 - ..._registry_update_api_spec_sync_56582d58.py | 51 - ...rated_registry_update_api_sync_a304797b.py | 51 - ...rated_registry_update_api_sync_efb5a2e0.py | 51 - ...gistry_update_api_version_sync_41a2051d.py | 51 - ...gistry_update_api_version_sync_73ec8ff9.py | 51 - .../snippet_metadata_apigee registry_v1.json | 5137 ++++------------- .../google-cloud-apigee-registry/setup.py | 33 +- .../testing/constraints-3.10.txt | 7 + .../testing/constraints-3.11.txt | 7 + .../testing/constraints-3.7.txt | 2 + .../testing/constraints-3.8.txt | 7 + .../testing/constraints-3.9.txt | 7 + .../apigee_registry_v1/test_provisioning.py | 50 +- .../gapic/apigee_registry_v1/test_registry.py | 39 +- 116 files changed, 1529 insertions(+), 8347 deletions(-) create mode 100644 packages/google-cloud-apigee-registry/.release-please-manifest.json create mode 100644 packages/google-cloud-apigee-registry/google/cloud/apigee_registry/__init__.py create mode 100644 packages/google-cloud-apigee-registry/google/cloud/apigee_registry/gapic_version.py create mode 100644 packages/google-cloud-apigee-registry/google/cloud/apigee_registry/py.typed create mode 100644 packages/google-cloud-apigee-registry/release-please-config.json delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_create_instance_sync_99c0616d.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_create_instance_sync_db60b650.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_delete_instance_sync_1791bfe4.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_delete_instance_sync_8fbcb629.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_get_instance_sync_7c15b370.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_get_instance_sync_d52a931d.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_deployment_sync_51197a3c.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_deployment_sync_ed13f1bd.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_spec_sync_13d906f3.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_spec_sync_8c746412.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_sync_a80ac305.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_sync_eaa94940.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_version_sync_3949e992.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_version_sync_68e37c0b.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_artifact_sync_1fc1b003.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_artifact_sync_8b3636ad.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_deployment_revision_sync_3823da5c.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_deployment_revision_sync_9d74aad9.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_deployment_sync_3cfb1726.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_deployment_sync_9b8bc191.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_spec_revision_sync_4ccdbbe6.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_spec_revision_sync_ab064abb.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_spec_sync_5db34200.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_spec_sync_f7ac362c.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_sync_8e52d6a8.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_sync_9a975a2a.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_version_sync_2e9f3456.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_version_sync_ce0fedd8.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_artifact_sync_168c00e8.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_artifact_sync_6040b0d2.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_deployment_sync_5ec8f12d.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_deployment_sync_66cd0b3b.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_spec_contents_sync_5d46947a.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_spec_contents_sync_b7eb863b.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_spec_sync_171cad6f.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_spec_sync_ba1c8941.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_sync_b7474ce3.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_sync_bc7358db.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_version_sync_396c76c5.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_version_sync_e2ce574f.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_artifact_contents_sync_360dea88.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_artifact_contents_sync_cf55f89d.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_artifact_sync_01903acd.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_artifact_sync_d59167c3.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_deployment_revisions_sync_64bfc8ef.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_deployment_revisions_sync_8cccd09c.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_deployments_sync_6c6142af.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_deployments_sync_ff8eaca4.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_spec_revisions_sync_88824047.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_spec_revisions_sync_a18db05b.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_specs_sync_39e8acac.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_specs_sync_e8873dfe.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_versions_sync_6a0f8cf5.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_versions_sync_8f9fa9ae.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_apis_sync_ea1d3b9f.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_apis_sync_f3bb4616.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_artifacts_sync_91f547f9.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_artifacts_sync_9a6d51c6.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_replace_artifact_sync_a507619e.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_replace_artifact_sync_e3f2bedb.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_rollback_api_deployment_sync_947d4cf2.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_rollback_api_deployment_sync_d5d9719b.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_rollback_api_spec_sync_9eeca7ec.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_rollback_api_spec_sync_c6c8d091.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_tag_api_deployment_revision_sync_174bf899.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_tag_api_deployment_revision_sync_d989b918.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_tag_api_spec_revision_sync_a6fdf1e7.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_tag_api_spec_revision_sync_ffcb0393.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_deployment_sync_7711f86e.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_deployment_sync_ef7fd49e.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_spec_sync_33f2f0c7.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_spec_sync_56582d58.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_sync_a304797b.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_sync_efb5a2e0.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_version_sync_41a2051d.py delete mode 100644 packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_version_sync_73ec8ff9.py diff --git a/packages/google-cloud-apigee-registry/.github/release-please.yml b/packages/google-cloud-apigee-registry/.github/release-please.yml index 466597e5b196..9c4ba9430ddb 100644 --- a/packages/google-cloud-apigee-registry/.github/release-please.yml +++ b/packages/google-cloud-apigee-registry/.github/release-please.yml @@ -1,2 +1,3 @@ releaseType: python +manifest: true handleGHRelease: true diff --git a/packages/google-cloud-apigee-registry/.release-please-manifest.json b/packages/google-cloud-apigee-registry/.release-please-manifest.json new file mode 100644 index 000000000000..04779995de8c --- /dev/null +++ b/packages/google-cloud-apigee-registry/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.3.2" +} diff --git a/packages/google-cloud-apigee-registry/docs/conf.py b/packages/google-cloud-apigee-registry/docs/conf.py index 7f3a310ae740..776e4364ec37 100644 --- a/packages/google-cloud-apigee-registry/docs/conf.py +++ b/packages/google-cloud-apigee-registry/docs/conf.py @@ -24,9 +24,9 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import sys import os import shlex +import sys # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry/__init__.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry/__init__.py new file mode 100644 index 000000000000..1b7bbb952bca --- /dev/null +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry/__init__.py @@ -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", +) diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry/gapic_version.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry/gapic_version.py new file mode 100644 index 000000000000..4b200d0e705c --- /dev/null +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry/gapic_version.py @@ -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} diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry/py.typed b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry/py.typed new file mode 100644 index 000000000000..4602793cfe4a --- /dev/null +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry/py.typed @@ -0,0 +1,2 @@ +# Marker file for PEP 561. +# The google-cloud-apigee-registry package uses inline types. diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/__init__.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/__init__.py index 8af34d4d023e..ce630be139f1 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/__init__.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/__init__.py @@ -13,64 +13,65 @@ # 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 -from .services.provisioning import ProvisioningClient -from .services.provisioning import ProvisioningAsyncClient -from .services.registry import RegistryClient -from .services.registry import RegistryAsyncClient +__version__ = package_version.__version__ -from .types.provisioning_service import CreateInstanceRequest -from .types.provisioning_service import DeleteInstanceRequest -from .types.provisioning_service import GetInstanceRequest -from .types.provisioning_service import Instance -from .types.provisioning_service import OperationMetadata -from .types.registry_models import Api -from .types.registry_models import ApiDeployment -from .types.registry_models import ApiSpec -from .types.registry_models import ApiVersion -from .types.registry_models import Artifact -from .types.registry_service import CreateApiDeploymentRequest -from .types.registry_service import CreateApiRequest -from .types.registry_service import CreateApiSpecRequest -from .types.registry_service import CreateApiVersionRequest -from .types.registry_service import CreateArtifactRequest -from .types.registry_service import DeleteApiDeploymentRequest -from .types.registry_service import DeleteApiDeploymentRevisionRequest -from .types.registry_service import DeleteApiRequest -from .types.registry_service import DeleteApiSpecRequest -from .types.registry_service import DeleteApiSpecRevisionRequest -from .types.registry_service import DeleteApiVersionRequest -from .types.registry_service import DeleteArtifactRequest -from .types.registry_service import GetApiDeploymentRequest -from .types.registry_service import GetApiRequest -from .types.registry_service import GetApiSpecContentsRequest -from .types.registry_service import GetApiSpecRequest -from .types.registry_service import GetApiVersionRequest -from .types.registry_service import GetArtifactContentsRequest -from .types.registry_service import GetArtifactRequest -from .types.registry_service import ListApiDeploymentRevisionsRequest -from .types.registry_service import ListApiDeploymentRevisionsResponse -from .types.registry_service import ListApiDeploymentsRequest -from .types.registry_service import ListApiDeploymentsResponse -from .types.registry_service import ListApiSpecRevisionsRequest -from .types.registry_service import ListApiSpecRevisionsResponse -from .types.registry_service import ListApiSpecsRequest -from .types.registry_service import ListApiSpecsResponse -from .types.registry_service import ListApisRequest -from .types.registry_service import ListApisResponse -from .types.registry_service import ListApiVersionsRequest -from .types.registry_service import ListApiVersionsResponse -from .types.registry_service import ListArtifactsRequest -from .types.registry_service import ListArtifactsResponse -from .types.registry_service import ReplaceArtifactRequest -from .types.registry_service import RollbackApiDeploymentRequest -from .types.registry_service import RollbackApiSpecRequest -from .types.registry_service import TagApiDeploymentRevisionRequest -from .types.registry_service import TagApiSpecRevisionRequest -from .types.registry_service import UpdateApiDeploymentRequest -from .types.registry_service import UpdateApiRequest -from .types.registry_service import UpdateApiSpecRequest -from .types.registry_service import UpdateApiVersionRequest + +from .services.provisioning import ProvisioningAsyncClient, ProvisioningClient +from .services.registry import RegistryAsyncClient, RegistryClient +from .types.provisioning_service import ( + CreateInstanceRequest, + DeleteInstanceRequest, + GetInstanceRequest, + Instance, + OperationMetadata, +) +from .types.registry_models import Api, ApiDeployment, ApiSpec, ApiVersion, Artifact +from .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__ = ( "ProvisioningAsyncClient", diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/__init__.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/__init__.py index f630e6e358ec..e61aa8618155 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/__init__.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/__init__.py @@ -13,8 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # -from .client import ProvisioningClient from .async_client import ProvisioningAsyncClient +from .client import ProvisioningClient __all__ = ( "ProvisioningClient", diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/async_client.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/async_client.py index ba07ac6e22eb..5bc58a4881ed 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/async_client.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/async_client.py @@ -17,14 +17,14 @@ import functools import re from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union -import pkg_resources -from google.api_core.client_options import ClientOptions from google.api_core import exceptions as core_exceptions from google.api_core import gapic_v1 from google.api_core import retry as retries +from google.api_core.client_options import ClientOptions from google.auth import credentials as ga_credentials # type: ignore from google.oauth2 import service_account # type: ignore +import pkg_resources try: OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault] @@ -33,16 +33,18 @@ from google.api_core import operation # type: ignore from google.api_core import operation_async # type: ignore -from google.cloud.apigee_registry_v1.types import provisioning_service from google.cloud.location import locations_pb2 # type: ignore from google.iam.v1 import iam_policy_pb2 # type: ignore from google.iam.v1 import policy_pb2 # type: ignore from google.longrunning import operations_pb2 from google.protobuf import empty_pb2 # type: ignore from google.protobuf import timestamp_pb2 # type: ignore -from .transports.base import ProvisioningTransport, DEFAULT_CLIENT_INFO -from .transports.grpc_asyncio import ProvisioningGrpcAsyncIOTransport + +from google.cloud.apigee_registry_v1.types import provisioning_service + from .client import ProvisioningClient +from .transports.base import DEFAULT_CLIENT_INFO, ProvisioningTransport +from .transports.grpc_asyncio import ProvisioningGrpcAsyncIOTransport class ProvisioningAsyncClient: diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/client.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/client.py index ac6f86847021..5047a15b0f56 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/client.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/client.py @@ -16,18 +16,18 @@ from collections import OrderedDict import os import re -from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union -import pkg_resources +from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union, cast from google.api_core import client_options as client_options_lib from google.api_core import exceptions as core_exceptions from google.api_core import gapic_v1 from google.api_core import retry as retries from google.auth import credentials as ga_credentials # type: ignore +from google.auth.exceptions import MutualTLSChannelError # type: ignore from google.auth.transport import mtls # type: ignore from google.auth.transport.grpc import SslCredentials # type: ignore -from google.auth.exceptions import MutualTLSChannelError # type: ignore from google.oauth2 import service_account # type: ignore +import pkg_resources try: OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault] @@ -36,14 +36,16 @@ from google.api_core import operation # type: ignore from google.api_core import operation_async # type: ignore -from google.cloud.apigee_registry_v1.types import provisioning_service from google.cloud.location import locations_pb2 # type: ignore from google.iam.v1 import iam_policy_pb2 # type: ignore from google.iam.v1 import policy_pb2 # type: ignore from google.longrunning import operations_pb2 from google.protobuf import empty_pb2 # type: ignore from google.protobuf import timestamp_pb2 # type: ignore -from .transports.base import ProvisioningTransport, DEFAULT_CLIENT_INFO + +from google.cloud.apigee_registry_v1.types import provisioning_service + +from .transports.base import DEFAULT_CLIENT_INFO, ProvisioningTransport from .transports.grpc import ProvisioningGrpcTransport from .transports.grpc_asyncio import ProvisioningGrpcAsyncIOTransport from .transports.rest import ProvisioningRestTransport @@ -342,7 +344,7 @@ def __init__( *, credentials: Optional[ga_credentials.Credentials] = None, transport: Union[str, ProvisioningTransport, None] = None, - client_options: Optional[client_options_lib.ClientOptions] = None, + client_options: Optional[Union[client_options_lib.ClientOptions, dict]] = None, client_info: gapic_v1.client_info.ClientInfo = DEFAULT_CLIENT_INFO, ) -> None: """Instantiates the provisioning client. @@ -359,7 +361,7 @@ def __init__( NOTE: "rest" transport functionality is currently in a beta state (preview). We welcome your feedback via an issue in this library's source repository. - client_options (google.api_core.client_options.ClientOptions): Custom options for the + client_options (Optional[Union[google.api_core.client_options.ClientOptions, dict]]): Custom options for the client. It won't take effect if a ``transport`` instance is provided. (1) The ``api_endpoint`` property can be used to override the default endpoint provided by the client. GOOGLE_API_USE_MTLS_ENDPOINT @@ -389,6 +391,7 @@ def __init__( client_options = client_options_lib.from_dict(client_options) if client_options is None: client_options = client_options_lib.ClientOptions() + client_options = cast(client_options_lib.ClientOptions, client_options) api_endpoint, client_cert_source_func = self.get_mtls_endpoint_and_cert_source( client_options diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/__init__.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/__init__.py index 048b50fa1f07..c518481d83f7 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/__init__.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/__init__.py @@ -19,9 +19,7 @@ from .base import ProvisioningTransport from .grpc import ProvisioningGrpcTransport from .grpc_asyncio import ProvisioningGrpcAsyncIOTransport -from .rest import ProvisioningRestTransport -from .rest import ProvisioningRestInterceptor - +from .rest import ProvisioningRestInterceptor, ProvisioningRestTransport # Compile a registry of transports. _transport_registry = OrderedDict() # type: Dict[str, Type[ProvisioningTransport]] diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/base.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/base.py index 8ca17889d2c7..1c6e04715e49 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/base.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/base.py @@ -15,23 +15,21 @@ # import abc from typing import Awaitable, Callable, Dict, Optional, Sequence, Union -import pkg_resources -import google.auth # type: ignore import google.api_core from google.api_core import exceptions as core_exceptions -from google.api_core import gapic_v1 +from google.api_core import gapic_v1, operations_v1 from google.api_core import retry as retries -from google.api_core import operations_v1 +import google.auth # type: ignore from google.auth import credentials as ga_credentials # type: ignore -from google.oauth2 import service_account # type: ignore - -from google.cloud.apigee_registry_v1.types import provisioning_service from google.cloud.location import locations_pb2 # type: ignore from google.iam.v1 import iam_policy_pb2 # type: ignore from google.iam.v1 import policy_pb2 # type: ignore -from google.longrunning import operations_pb2 from google.longrunning import operations_pb2 # type: ignore +from google.oauth2 import service_account # type: ignore +import pkg_resources + +from google.cloud.apigee_registry_v1.types import provisioning_service try: DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo( diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/grpc.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/grpc.py index d42fc2e29b5f..3fc50f21908e 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/grpc.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/grpc.py @@ -13,25 +13,22 @@ # See the License for the specific language governing permissions and # limitations under the License. # -import warnings from typing import Callable, Dict, Optional, Sequence, Tuple, Union +import warnings -from google.api_core import grpc_helpers -from google.api_core import operations_v1 -from google.api_core import gapic_v1 +from google.api_core import gapic_v1, grpc_helpers, operations_v1 import google.auth # type: ignore from google.auth import credentials as ga_credentials # type: ignore from google.auth.transport.grpc import SslCredentials # type: ignore - -import grpc # type: ignore - -from google.cloud.apigee_registry_v1.types import provisioning_service from google.cloud.location import locations_pb2 # type: ignore from google.iam.v1 import iam_policy_pb2 # type: ignore from google.iam.v1 import policy_pb2 # type: ignore -from google.longrunning import operations_pb2 from google.longrunning import operations_pb2 # type: ignore -from .base import ProvisioningTransport, DEFAULT_CLIENT_INFO +import grpc # type: ignore + +from google.cloud.apigee_registry_v1.types import provisioning_service + +from .base import DEFAULT_CLIENT_INFO, ProvisioningTransport class ProvisioningGrpcTransport(ProvisioningTransport): diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/grpc_asyncio.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/grpc_asyncio.py index 755ff92830ef..3aa77ac1d20c 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/grpc_asyncio.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/grpc_asyncio.py @@ -13,25 +13,22 @@ # See the License for the specific language governing permissions and # limitations under the License. # -import warnings from typing import Awaitable, Callable, Dict, Optional, Sequence, Tuple, Union +import warnings -from google.api_core import gapic_v1 -from google.api_core import grpc_helpers_async -from google.api_core import operations_v1 +from google.api_core import gapic_v1, grpc_helpers_async, operations_v1 from google.auth import credentials as ga_credentials # type: ignore from google.auth.transport.grpc import SslCredentials # type: ignore - -import grpc # type: ignore -from grpc.experimental import aio # type: ignore - -from google.cloud.apigee_registry_v1.types import provisioning_service from google.cloud.location import locations_pb2 # type: ignore from google.iam.v1 import iam_policy_pb2 # type: ignore from google.iam.v1 import policy_pb2 # type: ignore -from google.longrunning import operations_pb2 from google.longrunning import operations_pb2 # type: ignore -from .base import ProvisioningTransport, DEFAULT_CLIENT_INFO +import grpc # type: ignore +from grpc.experimental import aio # type: ignore + +from google.cloud.apigee_registry_v1.types import provisioning_service + +from .base import DEFAULT_CLIENT_INFO, ProvisioningTransport from .grpc import ProvisioningGrpcTransport diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/rest.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/rest.py index 2dcdd775c73f..c3669a36f00d 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/rest.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/provisioning/transports/rest.py @@ -14,29 +14,31 @@ # limitations under the License. # -from google.auth.transport.requests import AuthorizedSession # type: ignore +import dataclasses import json # type: ignore -import grpc # type: ignore -from google.auth.transport.grpc import SslCredentials # type: ignore -from google.auth import credentials as ga_credentials # type: ignore +import re +from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union +import warnings + +from google.api_core import ( + gapic_v1, + operations_v1, + path_template, + rest_helpers, + rest_streaming, +) from google.api_core import exceptions as core_exceptions from google.api_core import retry as retries -from google.api_core import rest_helpers -from google.api_core import rest_streaming -from google.api_core import path_template -from google.api_core import gapic_v1 - -from google.protobuf import json_format -from google.api_core import operations_v1 +from google.auth import credentials as ga_credentials # type: ignore +from google.auth.transport.grpc import SslCredentials # type: ignore +from google.auth.transport.requests import AuthorizedSession # type: ignore +from google.cloud.location import locations_pb2 # type: ignore from google.iam.v1 import iam_policy_pb2 # type: ignore from google.iam.v1 import policy_pb2 # type: ignore -from google.cloud.location import locations_pb2 # type: ignore from google.longrunning import operations_pb2 +from google.protobuf import json_format +import grpc # type: ignore from requests import __version__ as requests_version -import dataclasses -import re -from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union -import warnings try: OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault] @@ -44,11 +46,12 @@ OptionalRetry = Union[retries.Retry, object] # type: ignore -from google.cloud.apigee_registry_v1.types import provisioning_service from google.longrunning import operations_pb2 # type: ignore -from .base import ProvisioningTransport, DEFAULT_CLIENT_INFO as BASE_DEFAULT_CLIENT_INFO +from google.cloud.apigee_registry_v1.types import provisioning_service +from .base import DEFAULT_CLIENT_INFO as BASE_DEFAULT_CLIENT_INFO +from .base import ProvisioningTransport DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo( gapic_version=BASE_DEFAULT_CLIENT_INFO.gapic_version, diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/__init__.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/__init__.py index d2a75f351372..2e8903ad2490 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/__init__.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/__init__.py @@ -13,8 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # -from .client import RegistryClient from .async_client import RegistryAsyncClient +from .client import RegistryClient __all__ = ( "RegistryClient", diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/async_client.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/async_client.py index 9736aea27b20..68df7d1f6464 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/async_client.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/async_client.py @@ -17,14 +17,14 @@ import functools import re from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union -import pkg_resources -from google.api_core.client_options import ClientOptions from google.api_core import exceptions as core_exceptions from google.api_core import gapic_v1 from google.api_core import retry as retries +from google.api_core.client_options import ClientOptions from google.auth import credentials as ga_credentials # type: ignore from google.oauth2 import service_account # type: ignore +import pkg_resources try: OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault] @@ -32,9 +32,6 @@ OptionalRetry = Union[retries.Retry, object] # type: ignore from google.api import httpbody_pb2 # type: ignore -from google.cloud.apigee_registry_v1.services.registry import pagers -from google.cloud.apigee_registry_v1.types import registry_models -from google.cloud.apigee_registry_v1.types import registry_service from google.cloud.location import locations_pb2 # type: ignore from google.iam.v1 import iam_policy_pb2 # type: ignore from google.iam.v1 import policy_pb2 # type: ignore @@ -42,9 +39,13 @@ from google.protobuf import any_pb2 # type: ignore from google.protobuf import field_mask_pb2 # type: ignore from google.protobuf import timestamp_pb2 # type: ignore -from .transports.base import RegistryTransport, DEFAULT_CLIENT_INFO -from .transports.grpc_asyncio import RegistryGrpcAsyncIOTransport + +from google.cloud.apigee_registry_v1.services.registry import pagers +from google.cloud.apigee_registry_v1.types import registry_models, registry_service + from .client import RegistryClient +from .transports.base import DEFAULT_CLIENT_INFO, RegistryTransport +from .transports.grpc_asyncio import RegistryGrpcAsyncIOTransport class RegistryAsyncClient: diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/client.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/client.py index 7743951f96d0..8e7b95104846 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/client.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/client.py @@ -16,18 +16,18 @@ from collections import OrderedDict import os import re -from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union -import pkg_resources +from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union, cast from google.api_core import client_options as client_options_lib from google.api_core import exceptions as core_exceptions from google.api_core import gapic_v1 from google.api_core import retry as retries from google.auth import credentials as ga_credentials # type: ignore +from google.auth.exceptions import MutualTLSChannelError # type: ignore from google.auth.transport import mtls # type: ignore from google.auth.transport.grpc import SslCredentials # type: ignore -from google.auth.exceptions import MutualTLSChannelError # type: ignore from google.oauth2 import service_account # type: ignore +import pkg_resources try: OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault] @@ -35,9 +35,6 @@ OptionalRetry = Union[retries.Retry, object] # type: ignore from google.api import httpbody_pb2 # type: ignore -from google.cloud.apigee_registry_v1.services.registry import pagers -from google.cloud.apigee_registry_v1.types import registry_models -from google.cloud.apigee_registry_v1.types import registry_service from google.cloud.location import locations_pb2 # type: ignore from google.iam.v1 import iam_policy_pb2 # type: ignore from google.iam.v1 import policy_pb2 # type: ignore @@ -45,7 +42,11 @@ from google.protobuf import any_pb2 # type: ignore from google.protobuf import field_mask_pb2 # type: ignore from google.protobuf import timestamp_pb2 # type: ignore -from .transports.base import RegistryTransport, DEFAULT_CLIENT_INFO + +from google.cloud.apigee_registry_v1.services.registry import pagers +from google.cloud.apigee_registry_v1.types import registry_models, registry_service + +from .transports.base import DEFAULT_CLIENT_INFO, RegistryTransport from .transports.grpc import RegistryGrpcTransport from .transports.grpc_asyncio import RegistryGrpcAsyncIOTransport from .transports.rest import RegistryRestTransport @@ -440,7 +441,7 @@ def __init__( *, credentials: Optional[ga_credentials.Credentials] = None, transport: Union[str, RegistryTransport, None] = None, - client_options: Optional[client_options_lib.ClientOptions] = None, + client_options: Optional[Union[client_options_lib.ClientOptions, dict]] = None, client_info: gapic_v1.client_info.ClientInfo = DEFAULT_CLIENT_INFO, ) -> None: """Instantiates the registry client. @@ -457,7 +458,7 @@ def __init__( NOTE: "rest" transport functionality is currently in a beta state (preview). We welcome your feedback via an issue in this library's source repository. - client_options (google.api_core.client_options.ClientOptions): Custom options for the + client_options (Optional[Union[google.api_core.client_options.ClientOptions, dict]]): Custom options for the client. It won't take effect if a ``transport`` instance is provided. (1) The ``api_endpoint`` property can be used to override the default endpoint provided by the client. GOOGLE_API_USE_MTLS_ENDPOINT @@ -487,6 +488,7 @@ def __init__( client_options = client_options_lib.from_dict(client_options) if client_options is None: client_options = client_options_lib.ClientOptions() + client_options = cast(client_options_lib.ClientOptions, client_options) api_endpoint, client_cert_source_func = self.get_mtls_endpoint_and_cert_source( client_options diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/pagers.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/pagers.py index 0db008b23cec..8ca570ce84e5 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/pagers.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/pagers.py @@ -18,14 +18,13 @@ AsyncIterator, Awaitable, Callable, + Iterator, + Optional, Sequence, Tuple, - Optional, - Iterator, ) -from google.cloud.apigee_registry_v1.types import registry_models -from google.cloud.apigee_registry_v1.types import registry_service +from google.cloud.apigee_registry_v1.types import registry_models, registry_service class ListApisPager: diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/__init__.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/__init__.py index 3e096dcb8ee3..3907070739e5 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/__init__.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/__init__.py @@ -19,9 +19,7 @@ from .base import RegistryTransport from .grpc import RegistryGrpcTransport from .grpc_asyncio import RegistryGrpcAsyncIOTransport -from .rest import RegistryRestTransport -from .rest import RegistryRestInterceptor - +from .rest import RegistryRestInterceptor, RegistryRestTransport # Compile a registry of transports. _transport_registry = OrderedDict() # type: Dict[str, Type[RegistryTransport]] diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/base.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/base.py index 54d5bd98b662..08c76ea4fa86 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/base.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/base.py @@ -15,24 +15,23 @@ # import abc from typing import Awaitable, Callable, Dict, Optional, Sequence, Union -import pkg_resources -import google.auth # type: ignore +from google.api import httpbody_pb2 # type: ignore import google.api_core from google.api_core import exceptions as core_exceptions from google.api_core import gapic_v1 from google.api_core import retry as retries +import google.auth # type: ignore from google.auth import credentials as ga_credentials # type: ignore -from google.oauth2 import service_account # type: ignore - -from google.api import httpbody_pb2 # type: ignore -from google.cloud.apigee_registry_v1.types import registry_models -from google.cloud.apigee_registry_v1.types import registry_service from google.cloud.location import locations_pb2 # type: ignore from google.iam.v1 import iam_policy_pb2 # type: ignore from google.iam.v1 import policy_pb2 # type: ignore from google.longrunning import operations_pb2 +from google.oauth2 import service_account # type: ignore from google.protobuf import empty_pb2 # type: ignore +import pkg_resources + +from google.cloud.apigee_registry_v1.types import registry_models, registry_service try: DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo( diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/grpc.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/grpc.py index 98a6a2a3e88a..e11ee4970055 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/grpc.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/grpc.py @@ -13,26 +13,24 @@ # See the License for the specific language governing permissions and # limitations under the License. # -import warnings from typing import Callable, Dict, Optional, Sequence, Tuple, Union +import warnings -from google.api_core import grpc_helpers -from google.api_core import gapic_v1 +from google.api import httpbody_pb2 # type: ignore +from google.api_core import gapic_v1, grpc_helpers import google.auth # type: ignore from google.auth import credentials as ga_credentials # type: ignore from google.auth.transport.grpc import SslCredentials # type: ignore - -import grpc # type: ignore - -from google.api import httpbody_pb2 # type: ignore -from google.cloud.apigee_registry_v1.types import registry_models -from google.cloud.apigee_registry_v1.types import registry_service from google.cloud.location import locations_pb2 # type: ignore from google.iam.v1 import iam_policy_pb2 # type: ignore from google.iam.v1 import policy_pb2 # type: ignore from google.longrunning import operations_pb2 from google.protobuf import empty_pb2 # type: ignore -from .base import RegistryTransport, DEFAULT_CLIENT_INFO +import grpc # type: ignore + +from google.cloud.apigee_registry_v1.types import registry_models, registry_service + +from .base import DEFAULT_CLIENT_INFO, RegistryTransport class RegistryGrpcTransport(RegistryTransport): diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/grpc_asyncio.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/grpc_asyncio.py index bd3777f73a63..53d2b43406e7 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/grpc_asyncio.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/grpc_asyncio.py @@ -13,26 +13,24 @@ # See the License for the specific language governing permissions and # limitations under the License. # -import warnings from typing import Awaitable, Callable, Dict, Optional, Sequence, Tuple, Union +import warnings -from google.api_core import gapic_v1 -from google.api_core import grpc_helpers_async +from google.api import httpbody_pb2 # type: ignore +from google.api_core import gapic_v1, grpc_helpers_async from google.auth import credentials as ga_credentials # type: ignore from google.auth.transport.grpc import SslCredentials # type: ignore - -import grpc # type: ignore -from grpc.experimental import aio # type: ignore - -from google.api import httpbody_pb2 # type: ignore -from google.cloud.apigee_registry_v1.types import registry_models -from google.cloud.apigee_registry_v1.types import registry_service from google.cloud.location import locations_pb2 # type: ignore from google.iam.v1 import iam_policy_pb2 # type: ignore from google.iam.v1 import policy_pb2 # type: ignore from google.longrunning import operations_pb2 from google.protobuf import empty_pb2 # type: ignore -from .base import RegistryTransport, DEFAULT_CLIENT_INFO +import grpc # type: ignore +from grpc.experimental import aio # type: ignore + +from google.cloud.apigee_registry_v1.types import registry_models, registry_service + +from .base import DEFAULT_CLIENT_INFO, RegistryTransport from .grpc import RegistryGrpcTransport diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/rest.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/rest.py index 69d9ada41d93..309b4c34dbd6 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/rest.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/services/registry/transports/rest.py @@ -14,28 +14,25 @@ # limitations under the License. # -from google.auth.transport.requests import AuthorizedSession # type: ignore +import dataclasses import json # type: ignore -import grpc # type: ignore -from google.auth.transport.grpc import SslCredentials # type: ignore -from google.auth import credentials as ga_credentials # type: ignore +import re +from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union +import warnings + +from google.api_core import gapic_v1, path_template, rest_helpers, rest_streaming from google.api_core import exceptions as core_exceptions from google.api_core import retry as retries -from google.api_core import rest_helpers -from google.api_core import rest_streaming -from google.api_core import path_template -from google.api_core import gapic_v1 - -from google.protobuf import json_format +from google.auth import credentials as ga_credentials # type: ignore +from google.auth.transport.grpc import SslCredentials # type: ignore +from google.auth.transport.requests import AuthorizedSession # type: ignore +from google.cloud.location import locations_pb2 # type: ignore from google.iam.v1 import iam_policy_pb2 # type: ignore from google.iam.v1 import policy_pb2 # type: ignore -from google.cloud.location import locations_pb2 # type: ignore from google.longrunning import operations_pb2 +from google.protobuf import json_format +import grpc # type: ignore from requests import __version__ as requests_version -import dataclasses -import re -from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union -import warnings try: OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault] @@ -44,12 +41,12 @@ from google.api import httpbody_pb2 # type: ignore -from google.cloud.apigee_registry_v1.types import registry_models -from google.cloud.apigee_registry_v1.types import registry_service from google.protobuf import empty_pb2 # type: ignore -from .base import RegistryTransport, DEFAULT_CLIENT_INFO as BASE_DEFAULT_CLIENT_INFO +from google.cloud.apigee_registry_v1.types import registry_models, registry_service +from .base import DEFAULT_CLIENT_INFO as BASE_DEFAULT_CLIENT_INFO +from .base import RegistryTransport DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo( gapic_version=BASE_DEFAULT_CLIENT_INFO.gapic_version, diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/types/__init__.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/types/__init__.py index afdd9d87d121..63490c1672ee 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/types/__init__.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/types/__init__.py @@ -20,13 +20,7 @@ Instance, OperationMetadata, ) -from .registry_models import ( - Api, - ApiDeployment, - ApiSpec, - ApiVersion, - Artifact, -) +from .registry_models import Api, ApiDeployment, ApiSpec, ApiVersion, Artifact from .registry_service import ( CreateApiDeploymentRequest, CreateApiRequest, diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/types/provisioning_service.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/types/provisioning_service.py index eb04b7c83c1e..79883c6dc4d2 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/types/provisioning_service.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/types/provisioning_service.py @@ -13,10 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # -import proto # type: ignore - from google.protobuf import timestamp_pb2 # type: ignore - +import proto # type: ignore __protobuf__ = proto.module( package="google.cloud.apigeeregistry.v1", diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/types/registry_models.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/types/registry_models.py index 28f43c628f25..dde001188947 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/types/registry_models.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/types/registry_models.py @@ -13,10 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # -import proto # type: ignore - from google.protobuf import timestamp_pb2 # type: ignore - +import proto # type: ignore __protobuf__ = proto.module( package="google.cloud.apigeeregistry.v1", diff --git a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/types/registry_service.py b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/types/registry_service.py index c2feb38307f7..969f0b7fbd35 100644 --- a/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/types/registry_service.py +++ b/packages/google-cloud-apigee-registry/google/cloud/apigee_registry_v1/types/registry_service.py @@ -13,11 +13,10 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from google.protobuf import field_mask_pb2 # type: ignore import proto # type: ignore from google.cloud.apigee_registry_v1.types import registry_models -from google.protobuf import field_mask_pb2 # type: ignore - __protobuf__ = proto.module( package="google.cloud.apigeeregistry.v1", diff --git a/packages/google-cloud-apigee-registry/noxfile.py b/packages/google-cloud-apigee-registry/noxfile.py index 35f3976cb77e..29d020003ee5 100644 --- a/packages/google-cloud-apigee-registry/noxfile.py +++ b/packages/google-cloud-apigee-registry/noxfile.py @@ -17,6 +17,7 @@ # Generated by synthtool. DO NOT EDIT! from __future__ import absolute_import + import os import pathlib import re diff --git a/packages/google-cloud-apigee-registry/owlbot.py b/packages/google-cloud-apigee-registry/owlbot.py index 247dadb8f283..dc3427b3f659 100644 --- a/packages/google-cloud-apigee-registry/owlbot.py +++ b/packages/google-cloud-apigee-registry/owlbot.py @@ -12,7 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +import json from pathlib import Path +import shutil import synthtool as s import synthtool.gcp as gcp @@ -22,10 +24,26 @@ # Copy the generated client from the owl-bot staging directory # ---------------------------------------------------------------------------- -default_version = "v1" +clean_up_generated_samples = True + +# Load the default version defined in .repo-metadata.json. +default_version = json.load(open(".repo-metadata.json", "rt")).get( + "default_version" +) for library in s.get_staging_dirs(default_version): - s.move(library, excludes=["google/cloud/apigee_registry/", "setup.py"]) + if clean_up_generated_samples: + shutil.rmtree("samples/generated_samples", ignore_errors=True) + clean_up_generated_samples = False + + # remove replacement once a new gapic-generator-python version is released + # which includes this fix https://github.com/googleapis/gapic-generator-python/pull/1483 + s.replace( + library / "testing/constraints-3.7.txt", + "grpc-google-iam-v1=0", + "grpc-google-iam-v1==0", + ) + s.move([library], excludes=["**/gapic_version.py"]) s.remove_staging_dirs() # ---------------------------------------------------------------------------- @@ -37,11 +55,10 @@ microgenerator=True, versions=gcp.common.detect_versions(path="./google", default_first=True), ) -s.move(templated_files, excludes=[".coveragerc"]) # the microgenerator has a good coveragerc file +s.move(templated_files, excludes=[".coveragerc", ".github/release-please.yml"]) python.py_samples(skip_readmes=True) - -# run blacken session for all directories which have a noxfile +# run format session for all directories which have a noxfile for noxfile in Path(".").glob("**/noxfile.py"): - s.shell.run(["nox", "-s", "blacken"], cwd=noxfile.parent, hide_output=False) + s.shell.run(["nox", "-s", "format"], cwd=noxfile.parent, hide_output=False) \ No newline at end of file diff --git a/packages/google-cloud-apigee-registry/release-please-config.json b/packages/google-cloud-apigee-registry/release-please-config.json new file mode 100644 index 000000000000..ccab7ceea364 --- /dev/null +++ b/packages/google-cloud-apigee-registry/release-please-config.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "packages": { + ".": { + "release-type": "python", + "extra-files": [ + "google/cloud/apigee_registry/gapic_version.py" + ] + } + }, + "release-type": "python", + "plugins": [ + { + "type": "sentence-case" + } + ], + "initial-version": "0.1.0" +} diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_create_instance_sync_99c0616d.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_create_instance_sync_99c0616d.py deleted file mode 100644 index 49f7133e1d81..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_create_instance_sync_99c0616d.py +++ /dev/null @@ -1,61 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateInstance -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Provisioning_CreateInstance_sync_99c0616d] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_create_instance(): - # Create a client - client = apigee_registry_v1.ProvisioningClient() - - # Initialize request argument(s) - instance = apigee_registry_v1.Instance() - instance.config.cmek_key_name = "cmek_key_name_value" - - request = apigee_registry_v1.CreateInstanceRequest( - parent="parent_value", - instance_id="instance_id_value", - instance=instance, - ) - - # Make the request - operation = client.create_instance(request=request) - - print("Waiting for operation to complete...") - - response = operation.result() - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Provisioning_CreateInstance_sync_99c0616d] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_create_instance_sync_db60b650.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_create_instance_sync_db60b650.py deleted file mode 100644 index 0d2b5127847f..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_create_instance_sync_db60b650.py +++ /dev/null @@ -1,61 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateInstance -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Provisioning_CreateInstance_sync_db60b650] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_create_instance(): - # Create a client - client = apigee_registry_v1.ProvisioningClient() - - # Initialize request argument(s) - instance = apigee_registry_v1.Instance() - instance.config.cmek_key_name = "cmek_key_name_value" - - request = apigee_registry_v1.CreateInstanceRequest( - parent="parent_value", - instance_id="instance_id_value", - instance=instance, - ) - - # Make the request - operation = client.create_instance(request=request) - - print("Waiting for operation to complete...") - - response = operation.result() - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Provisioning_CreateInstance_sync_db60b650] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_delete_instance_sync_1791bfe4.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_delete_instance_sync_1791bfe4.py deleted file mode 100644 index 1b20494a2b2d..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_delete_instance_sync_1791bfe4.py +++ /dev/null @@ -1,56 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteInstance -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Provisioning_DeleteInstance_sync_1791bfe4] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_delete_instance(): - # Create a client - client = apigee_registry_v1.ProvisioningClient() - - # Initialize request argument(s) - request = apigee_registry_v1.DeleteInstanceRequest( - name="name_value", - ) - - # Make the request - operation = client.delete_instance(request=request) - - print("Waiting for operation to complete...") - - response = operation.result() - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Provisioning_DeleteInstance_sync_1791bfe4] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_delete_instance_sync_8fbcb629.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_delete_instance_sync_8fbcb629.py deleted file mode 100644 index f010a0683147..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_delete_instance_sync_8fbcb629.py +++ /dev/null @@ -1,56 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteInstance -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Provisioning_DeleteInstance_sync_8fbcb629] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_delete_instance(): - # Create a client - client = apigee_registry_v1.ProvisioningClient() - - # Initialize request argument(s) - request = apigee_registry_v1.DeleteInstanceRequest( - name="name_value", - ) - - # Make the request - operation = client.delete_instance(request=request) - - print("Waiting for operation to complete...") - - response = operation.result() - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Provisioning_DeleteInstance_sync_8fbcb629] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_get_instance_sync_7c15b370.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_get_instance_sync_7c15b370.py deleted file mode 100644 index 66cf95eb3c16..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_get_instance_sync_7c15b370.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetInstance -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Provisioning_GetInstance_sync_7c15b370] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_get_instance(): - # Create a client - client = apigee_registry_v1.ProvisioningClient() - - # Initialize request argument(s) - request = apigee_registry_v1.GetInstanceRequest( - name="name_value", - ) - - # Make the request - response = client.get_instance(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Provisioning_GetInstance_sync_7c15b370] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_get_instance_sync_d52a931d.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_get_instance_sync_d52a931d.py deleted file mode 100644 index f52d5a250ae0..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_provisioning_get_instance_sync_d52a931d.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetInstance -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Provisioning_GetInstance_sync_d52a931d] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_get_instance(): - # Create a client - client = apigee_registry_v1.ProvisioningClient() - - # Initialize request argument(s) - request = apigee_registry_v1.GetInstanceRequest( - name="name_value", - ) - - # Make the request - response = client.get_instance(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Provisioning_GetInstance_sync_d52a931d] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_deployment_sync_51197a3c.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_deployment_sync_51197a3c.py deleted file mode 100644 index 63d27418cdaa..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_deployment_sync_51197a3c.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateApiDeployment -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_CreateApiDeployment_sync_51197a3c] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_create_api_deployment(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.CreateApiDeploymentRequest( - parent="parent_value", - api_deployment_id="api_deployment_id_value", - ) - - # Make the request - response = client.create_api_deployment(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_CreateApiDeployment_sync_51197a3c] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_deployment_sync_ed13f1bd.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_deployment_sync_ed13f1bd.py deleted file mode 100644 index fd66a0066014..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_deployment_sync_ed13f1bd.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateApiDeployment -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_CreateApiDeployment_sync_ed13f1bd] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_create_api_deployment(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.CreateApiDeploymentRequest( - parent="parent_value", - api_deployment_id="api_deployment_id_value", - ) - - # Make the request - response = client.create_api_deployment(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_CreateApiDeployment_sync_ed13f1bd] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_spec_sync_13d906f3.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_spec_sync_13d906f3.py deleted file mode 100644 index b9251f06365a..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_spec_sync_13d906f3.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateApiSpec -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_CreateApiSpec_sync_13d906f3] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_create_api_spec(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.CreateApiSpecRequest( - parent="parent_value", - api_spec_id="api_spec_id_value", - ) - - # Make the request - response = client.create_api_spec(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_CreateApiSpec_sync_13d906f3] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_spec_sync_8c746412.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_spec_sync_8c746412.py deleted file mode 100644 index 6fa8aacc8317..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_spec_sync_8c746412.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateApiSpec -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_CreateApiSpec_sync_8c746412] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_create_api_spec(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.CreateApiSpecRequest( - parent="parent_value", - api_spec_id="api_spec_id_value", - ) - - # Make the request - response = client.create_api_spec(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_CreateApiSpec_sync_8c746412] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_sync_a80ac305.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_sync_a80ac305.py deleted file mode 100644 index 22932b20a4bf..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_sync_a80ac305.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateApi -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_CreateApi_sync_a80ac305] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_create_api(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.CreateApiRequest( - parent="parent_value", - api_id="api_id_value", - ) - - # Make the request - response = client.create_api(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_CreateApi_sync_a80ac305] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_sync_eaa94940.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_sync_eaa94940.py deleted file mode 100644 index 5922c5d8c580..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_sync_eaa94940.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateApi -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_CreateApi_sync_eaa94940] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_create_api(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.CreateApiRequest( - parent="parent_value", - api_id="api_id_value", - ) - - # Make the request - response = client.create_api(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_CreateApi_sync_eaa94940] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_version_sync_3949e992.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_version_sync_3949e992.py deleted file mode 100644 index 223ba19708a4..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_version_sync_3949e992.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateApiVersion -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_CreateApiVersion_sync_3949e992] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_create_api_version(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.CreateApiVersionRequest( - parent="parent_value", - api_version_id="api_version_id_value", - ) - - # Make the request - response = client.create_api_version(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_CreateApiVersion_sync_3949e992] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_version_sync_68e37c0b.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_version_sync_68e37c0b.py deleted file mode 100644 index 63355bf127e1..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_api_version_sync_68e37c0b.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateApiVersion -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_CreateApiVersion_sync_68e37c0b] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_create_api_version(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.CreateApiVersionRequest( - parent="parent_value", - api_version_id="api_version_id_value", - ) - - # Make the request - response = client.create_api_version(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_CreateApiVersion_sync_68e37c0b] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_artifact_sync_1fc1b003.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_artifact_sync_1fc1b003.py deleted file mode 100644 index b08d213ce107..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_artifact_sync_1fc1b003.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateArtifact -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_CreateArtifact_sync_1fc1b003] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_create_artifact(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.CreateArtifactRequest( - parent="parent_value", - artifact_id="artifact_id_value", - ) - - # Make the request - response = client.create_artifact(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_CreateArtifact_sync_1fc1b003] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_artifact_sync_8b3636ad.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_artifact_sync_8b3636ad.py deleted file mode 100644 index 0c414796a24c..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_create_artifact_sync_8b3636ad.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateArtifact -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_CreateArtifact_sync_8b3636ad] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_create_artifact(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.CreateArtifactRequest( - parent="parent_value", - artifact_id="artifact_id_value", - ) - - # Make the request - response = client.create_artifact(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_CreateArtifact_sync_8b3636ad] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_deployment_revision_sync_3823da5c.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_deployment_revision_sync_3823da5c.py deleted file mode 100644 index da61df781425..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_deployment_revision_sync_3823da5c.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteApiDeploymentRevision -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_DeleteApiDeploymentRevision_sync_3823da5c] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_delete_api_deployment_revision(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.DeleteApiDeploymentRevisionRequest( - name="name_value", - ) - - # Make the request - response = client.delete_api_deployment_revision(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_DeleteApiDeploymentRevision_sync_3823da5c] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_deployment_revision_sync_9d74aad9.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_deployment_revision_sync_9d74aad9.py deleted file mode 100644 index d7b39a7501b3..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_deployment_revision_sync_9d74aad9.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteApiDeploymentRevision -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_DeleteApiDeploymentRevision_sync_9d74aad9] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_delete_api_deployment_revision(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.DeleteApiDeploymentRevisionRequest( - name="name_value", - ) - - # Make the request - response = client.delete_api_deployment_revision(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_DeleteApiDeploymentRevision_sync_9d74aad9] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_deployment_sync_3cfb1726.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_deployment_sync_3cfb1726.py deleted file mode 100644 index aad3c1b2f9e9..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_deployment_sync_3cfb1726.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteApiDeployment -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_DeleteApiDeployment_sync_3cfb1726] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_delete_api_deployment(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.DeleteApiDeploymentRequest( - name="name_value", - ) - - # Make the request - client.delete_api_deployment(request=request) - - -# [END apigeeregistry_v1_generated_Registry_DeleteApiDeployment_sync_3cfb1726] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_deployment_sync_9b8bc191.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_deployment_sync_9b8bc191.py deleted file mode 100644 index d516bb1cf577..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_deployment_sync_9b8bc191.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteApiDeployment -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_DeleteApiDeployment_sync_9b8bc191] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_delete_api_deployment(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.DeleteApiDeploymentRequest( - name="name_value", - ) - - # Make the request - client.delete_api_deployment(request=request) - - -# [END apigeeregistry_v1_generated_Registry_DeleteApiDeployment_sync_9b8bc191] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_spec_revision_sync_4ccdbbe6.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_spec_revision_sync_4ccdbbe6.py deleted file mode 100644 index 05a6b4fec7fe..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_spec_revision_sync_4ccdbbe6.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteApiSpecRevision -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_DeleteApiSpecRevision_sync_4ccdbbe6] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_delete_api_spec_revision(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.DeleteApiSpecRevisionRequest( - name="name_value", - ) - - # Make the request - response = client.delete_api_spec_revision(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_DeleteApiSpecRevision_sync_4ccdbbe6] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_spec_revision_sync_ab064abb.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_spec_revision_sync_ab064abb.py deleted file mode 100644 index ba5289721a25..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_spec_revision_sync_ab064abb.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteApiSpecRevision -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_DeleteApiSpecRevision_sync_ab064abb] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_delete_api_spec_revision(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.DeleteApiSpecRevisionRequest( - name="name_value", - ) - - # Make the request - response = client.delete_api_spec_revision(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_DeleteApiSpecRevision_sync_ab064abb] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_spec_sync_5db34200.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_spec_sync_5db34200.py deleted file mode 100644 index cd7a25fa0512..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_spec_sync_5db34200.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteApiSpec -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_DeleteApiSpec_sync_5db34200] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_delete_api_spec(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.DeleteApiSpecRequest( - name="name_value", - ) - - # Make the request - client.delete_api_spec(request=request) - - -# [END apigeeregistry_v1_generated_Registry_DeleteApiSpec_sync_5db34200] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_spec_sync_f7ac362c.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_spec_sync_f7ac362c.py deleted file mode 100644 index 94e0a580c9cc..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_spec_sync_f7ac362c.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteApiSpec -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_DeleteApiSpec_sync_f7ac362c] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_delete_api_spec(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.DeleteApiSpecRequest( - name="name_value", - ) - - # Make the request - client.delete_api_spec(request=request) - - -# [END apigeeregistry_v1_generated_Registry_DeleteApiSpec_sync_f7ac362c] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_sync_8e52d6a8.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_sync_8e52d6a8.py deleted file mode 100644 index 210aa89d424d..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_sync_8e52d6a8.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteApi -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_DeleteApi_sync_8e52d6a8] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_delete_api(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.DeleteApiRequest( - name="name_value", - ) - - # Make the request - client.delete_api(request=request) - - -# [END apigeeregistry_v1_generated_Registry_DeleteApi_sync_8e52d6a8] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_sync_9a975a2a.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_sync_9a975a2a.py deleted file mode 100644 index 113b9017d37d..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_sync_9a975a2a.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteApi -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_DeleteApi_sync_9a975a2a] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_delete_api(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.DeleteApiRequest( - name="name_value", - ) - - # Make the request - client.delete_api(request=request) - - -# [END apigeeregistry_v1_generated_Registry_DeleteApi_sync_9a975a2a] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_version_sync_2e9f3456.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_version_sync_2e9f3456.py deleted file mode 100644 index 62a4fdfc1127..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_version_sync_2e9f3456.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteApiVersion -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_DeleteApiVersion_sync_2e9f3456] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_delete_api_version(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.DeleteApiVersionRequest( - name="name_value", - ) - - # Make the request - client.delete_api_version(request=request) - - -# [END apigeeregistry_v1_generated_Registry_DeleteApiVersion_sync_2e9f3456] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_version_sync_ce0fedd8.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_version_sync_ce0fedd8.py deleted file mode 100644 index b77b74727503..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_api_version_sync_ce0fedd8.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteApiVersion -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_DeleteApiVersion_sync_ce0fedd8] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_delete_api_version(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.DeleteApiVersionRequest( - name="name_value", - ) - - # Make the request - client.delete_api_version(request=request) - - -# [END apigeeregistry_v1_generated_Registry_DeleteApiVersion_sync_ce0fedd8] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_artifact_sync_168c00e8.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_artifact_sync_168c00e8.py deleted file mode 100644 index 0a491add01e0..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_artifact_sync_168c00e8.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteArtifact -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_DeleteArtifact_sync_168c00e8] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_delete_artifact(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.DeleteArtifactRequest( - name="name_value", - ) - - # Make the request - client.delete_artifact(request=request) - - -# [END apigeeregistry_v1_generated_Registry_DeleteArtifact_sync_168c00e8] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_artifact_sync_6040b0d2.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_artifact_sync_6040b0d2.py deleted file mode 100644 index 40c0715b72f6..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_delete_artifact_sync_6040b0d2.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteArtifact -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_DeleteArtifact_sync_6040b0d2] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_delete_artifact(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.DeleteArtifactRequest( - name="name_value", - ) - - # Make the request - client.delete_artifact(request=request) - - -# [END apigeeregistry_v1_generated_Registry_DeleteArtifact_sync_6040b0d2] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_deployment_sync_5ec8f12d.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_deployment_sync_5ec8f12d.py deleted file mode 100644 index 53cbf34b57dc..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_deployment_sync_5ec8f12d.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetApiDeployment -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_GetApiDeployment_sync_5ec8f12d] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_get_api_deployment(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.GetApiDeploymentRequest( - name="name_value", - ) - - # Make the request - response = client.get_api_deployment(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_GetApiDeployment_sync_5ec8f12d] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_deployment_sync_66cd0b3b.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_deployment_sync_66cd0b3b.py deleted file mode 100644 index 70a7ab377b4a..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_deployment_sync_66cd0b3b.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetApiDeployment -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_GetApiDeployment_sync_66cd0b3b] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_get_api_deployment(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.GetApiDeploymentRequest( - name="name_value", - ) - - # Make the request - response = client.get_api_deployment(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_GetApiDeployment_sync_66cd0b3b] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_spec_contents_sync_5d46947a.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_spec_contents_sync_5d46947a.py deleted file mode 100644 index 12066c156589..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_spec_contents_sync_5d46947a.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetApiSpecContents -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_GetApiSpecContents_sync_5d46947a] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_get_api_spec_contents(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.GetApiSpecContentsRequest( - name="name_value", - ) - - # Make the request - response = client.get_api_spec_contents(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_GetApiSpecContents_sync_5d46947a] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_spec_contents_sync_b7eb863b.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_spec_contents_sync_b7eb863b.py deleted file mode 100644 index 7b5d0f8769b9..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_spec_contents_sync_b7eb863b.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetApiSpecContents -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_GetApiSpecContents_sync_b7eb863b] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_get_api_spec_contents(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.GetApiSpecContentsRequest( - name="name_value", - ) - - # Make the request - response = client.get_api_spec_contents(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_GetApiSpecContents_sync_b7eb863b] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_spec_sync_171cad6f.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_spec_sync_171cad6f.py deleted file mode 100644 index 99375030943c..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_spec_sync_171cad6f.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetApiSpec -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_GetApiSpec_sync_171cad6f] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_get_api_spec(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.GetApiSpecRequest( - name="name_value", - ) - - # Make the request - response = client.get_api_spec(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_GetApiSpec_sync_171cad6f] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_spec_sync_ba1c8941.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_spec_sync_ba1c8941.py deleted file mode 100644 index 56b7346a1c58..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_spec_sync_ba1c8941.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetApiSpec -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_GetApiSpec_sync_ba1c8941] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_get_api_spec(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.GetApiSpecRequest( - name="name_value", - ) - - # Make the request - response = client.get_api_spec(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_GetApiSpec_sync_ba1c8941] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_sync_b7474ce3.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_sync_b7474ce3.py deleted file mode 100644 index 4a5fb8344722..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_sync_b7474ce3.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetApi -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_GetApi_sync_b7474ce3] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_get_api(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.GetApiRequest( - name="name_value", - ) - - # Make the request - response = client.get_api(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_GetApi_sync_b7474ce3] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_sync_bc7358db.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_sync_bc7358db.py deleted file mode 100644 index 6edd681e1e56..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_sync_bc7358db.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetApi -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_GetApi_sync_bc7358db] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_get_api(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.GetApiRequest( - name="name_value", - ) - - # Make the request - response = client.get_api(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_GetApi_sync_bc7358db] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_version_sync_396c76c5.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_version_sync_396c76c5.py deleted file mode 100644 index 239c73eb3170..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_version_sync_396c76c5.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetApiVersion -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_GetApiVersion_sync_396c76c5] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_get_api_version(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.GetApiVersionRequest( - name="name_value", - ) - - # Make the request - response = client.get_api_version(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_GetApiVersion_sync_396c76c5] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_version_sync_e2ce574f.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_version_sync_e2ce574f.py deleted file mode 100644 index a2a5e35be98e..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_api_version_sync_e2ce574f.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetApiVersion -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_GetApiVersion_sync_e2ce574f] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_get_api_version(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.GetApiVersionRequest( - name="name_value", - ) - - # Make the request - response = client.get_api_version(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_GetApiVersion_sync_e2ce574f] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_artifact_contents_sync_360dea88.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_artifact_contents_sync_360dea88.py deleted file mode 100644 index de9e9be7366a..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_artifact_contents_sync_360dea88.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetArtifactContents -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_GetArtifactContents_sync_360dea88] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_get_artifact_contents(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.GetArtifactContentsRequest( - name="name_value", - ) - - # Make the request - response = client.get_artifact_contents(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_GetArtifactContents_sync_360dea88] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_artifact_contents_sync_cf55f89d.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_artifact_contents_sync_cf55f89d.py deleted file mode 100644 index 584220ff3764..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_artifact_contents_sync_cf55f89d.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetArtifactContents -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_GetArtifactContents_sync_cf55f89d] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_get_artifact_contents(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.GetArtifactContentsRequest( - name="name_value", - ) - - # Make the request - response = client.get_artifact_contents(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_GetArtifactContents_sync_cf55f89d] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_artifact_sync_01903acd.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_artifact_sync_01903acd.py deleted file mode 100644 index 57e377f95cc9..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_artifact_sync_01903acd.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetArtifact -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_GetArtifact_sync_01903acd] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_get_artifact(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.GetArtifactRequest( - name="name_value", - ) - - # Make the request - response = client.get_artifact(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_GetArtifact_sync_01903acd] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_artifact_sync_d59167c3.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_artifact_sync_d59167c3.py deleted file mode 100644 index 97cd68e7e394..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_artifact_sync_d59167c3.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetArtifact -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_GetArtifact_sync_d59167c3] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_get_artifact(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.GetArtifactRequest( - name="name_value", - ) - - # Make the request - response = client.get_artifact(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_GetArtifact_sync_d59167c3] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_deployment_revisions_sync_64bfc8ef.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_deployment_revisions_sync_64bfc8ef.py deleted file mode 100644 index 112d778e4b97..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_deployment_revisions_sync_64bfc8ef.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListApiDeploymentRevisions -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_ListApiDeploymentRevisions_sync_64bfc8ef] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_list_api_deployment_revisions(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.ListApiDeploymentRevisionsRequest( - name="name_value", - ) - - # Make the request - page_result = client.list_api_deployment_revisions(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END apigeeregistry_v1_generated_Registry_ListApiDeploymentRevisions_sync_64bfc8ef] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_deployment_revisions_sync_8cccd09c.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_deployment_revisions_sync_8cccd09c.py deleted file mode 100644 index 9319ea3d4fcc..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_deployment_revisions_sync_8cccd09c.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListApiDeploymentRevisions -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_ListApiDeploymentRevisions_sync_8cccd09c] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_list_api_deployment_revisions(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.ListApiDeploymentRevisionsRequest( - name="name_value", - ) - - # Make the request - page_result = client.list_api_deployment_revisions(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END apigeeregistry_v1_generated_Registry_ListApiDeploymentRevisions_sync_8cccd09c] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_deployments_sync_6c6142af.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_deployments_sync_6c6142af.py deleted file mode 100644 index f392282ce08d..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_deployments_sync_6c6142af.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListApiDeployments -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_ListApiDeployments_sync_6c6142af] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_list_api_deployments(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.ListApiDeploymentsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_api_deployments(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END apigeeregistry_v1_generated_Registry_ListApiDeployments_sync_6c6142af] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_deployments_sync_ff8eaca4.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_deployments_sync_ff8eaca4.py deleted file mode 100644 index 05b6bd403893..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_deployments_sync_ff8eaca4.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListApiDeployments -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_ListApiDeployments_sync_ff8eaca4] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_list_api_deployments(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.ListApiDeploymentsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_api_deployments(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END apigeeregistry_v1_generated_Registry_ListApiDeployments_sync_ff8eaca4] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_spec_revisions_sync_88824047.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_spec_revisions_sync_88824047.py deleted file mode 100644 index 3a19a1190d48..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_spec_revisions_sync_88824047.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListApiSpecRevisions -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_ListApiSpecRevisions_sync_88824047] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_list_api_spec_revisions(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.ListApiSpecRevisionsRequest( - name="name_value", - ) - - # Make the request - page_result = client.list_api_spec_revisions(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END apigeeregistry_v1_generated_Registry_ListApiSpecRevisions_sync_88824047] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_spec_revisions_sync_a18db05b.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_spec_revisions_sync_a18db05b.py deleted file mode 100644 index 56f0032052d5..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_spec_revisions_sync_a18db05b.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListApiSpecRevisions -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_ListApiSpecRevisions_sync_a18db05b] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_list_api_spec_revisions(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.ListApiSpecRevisionsRequest( - name="name_value", - ) - - # Make the request - page_result = client.list_api_spec_revisions(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END apigeeregistry_v1_generated_Registry_ListApiSpecRevisions_sync_a18db05b] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_specs_sync_39e8acac.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_specs_sync_39e8acac.py deleted file mode 100644 index 3db145c30ae0..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_specs_sync_39e8acac.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListApiSpecs -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_ListApiSpecs_sync_39e8acac] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_list_api_specs(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.ListApiSpecsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_api_specs(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END apigeeregistry_v1_generated_Registry_ListApiSpecs_sync_39e8acac] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_specs_sync_e8873dfe.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_specs_sync_e8873dfe.py deleted file mode 100644 index 478c4001a655..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_specs_sync_e8873dfe.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListApiSpecs -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_ListApiSpecs_sync_e8873dfe] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_list_api_specs(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.ListApiSpecsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_api_specs(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END apigeeregistry_v1_generated_Registry_ListApiSpecs_sync_e8873dfe] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_versions_sync_6a0f8cf5.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_versions_sync_6a0f8cf5.py deleted file mode 100644 index a1846b5b07d2..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_versions_sync_6a0f8cf5.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListApiVersions -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_ListApiVersions_sync_6a0f8cf5] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_list_api_versions(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.ListApiVersionsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_api_versions(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END apigeeregistry_v1_generated_Registry_ListApiVersions_sync_6a0f8cf5] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_versions_sync_8f9fa9ae.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_versions_sync_8f9fa9ae.py deleted file mode 100644 index 2f4ee3845f3e..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_api_versions_sync_8f9fa9ae.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListApiVersions -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_ListApiVersions_sync_8f9fa9ae] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_list_api_versions(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.ListApiVersionsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_api_versions(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END apigeeregistry_v1_generated_Registry_ListApiVersions_sync_8f9fa9ae] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_apis_sync_ea1d3b9f.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_apis_sync_ea1d3b9f.py deleted file mode 100644 index 0a24513b7463..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_apis_sync_ea1d3b9f.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListApis -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_ListApis_sync_ea1d3b9f] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_list_apis(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.ListApisRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_apis(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END apigeeregistry_v1_generated_Registry_ListApis_sync_ea1d3b9f] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_apis_sync_f3bb4616.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_apis_sync_f3bb4616.py deleted file mode 100644 index b9e5520ec75d..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_apis_sync_f3bb4616.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListApis -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_ListApis_sync_f3bb4616] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_list_apis(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.ListApisRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_apis(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END apigeeregistry_v1_generated_Registry_ListApis_sync_f3bb4616] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_artifacts_sync_91f547f9.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_artifacts_sync_91f547f9.py deleted file mode 100644 index 7d05f46fccc5..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_artifacts_sync_91f547f9.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListArtifacts -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_ListArtifacts_sync_91f547f9] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_list_artifacts(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.ListArtifactsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_artifacts(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END apigeeregistry_v1_generated_Registry_ListArtifacts_sync_91f547f9] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_artifacts_sync_9a6d51c6.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_artifacts_sync_9a6d51c6.py deleted file mode 100644 index b8f3166d2c31..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_list_artifacts_sync_9a6d51c6.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListArtifacts -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_ListArtifacts_sync_9a6d51c6] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_list_artifacts(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.ListArtifactsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_artifacts(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END apigeeregistry_v1_generated_Registry_ListArtifacts_sync_9a6d51c6] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_replace_artifact_sync_a507619e.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_replace_artifact_sync_a507619e.py deleted file mode 100644 index 7141184145bc..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_replace_artifact_sync_a507619e.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ReplaceArtifact -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_ReplaceArtifact_sync_a507619e] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_replace_artifact(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.ReplaceArtifactRequest( - ) - - # Make the request - response = client.replace_artifact(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_ReplaceArtifact_sync_a507619e] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_replace_artifact_sync_e3f2bedb.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_replace_artifact_sync_e3f2bedb.py deleted file mode 100644 index f34ef1363ee9..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_replace_artifact_sync_e3f2bedb.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ReplaceArtifact -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_ReplaceArtifact_sync_e3f2bedb] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_replace_artifact(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.ReplaceArtifactRequest( - ) - - # Make the request - response = client.replace_artifact(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_ReplaceArtifact_sync_e3f2bedb] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_rollback_api_deployment_sync_947d4cf2.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_rollback_api_deployment_sync_947d4cf2.py deleted file mode 100644 index 45aaf2f11015..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_rollback_api_deployment_sync_947d4cf2.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for RollbackApiDeployment -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_RollbackApiDeployment_sync_947d4cf2] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_rollback_api_deployment(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.RollbackApiDeploymentRequest( - name="name_value", - revision_id="revision_id_value", - ) - - # Make the request - response = client.rollback_api_deployment(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_RollbackApiDeployment_sync_947d4cf2] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_rollback_api_deployment_sync_d5d9719b.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_rollback_api_deployment_sync_d5d9719b.py deleted file mode 100644 index 96f99224cef2..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_rollback_api_deployment_sync_d5d9719b.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for RollbackApiDeployment -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_RollbackApiDeployment_sync_d5d9719b] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_rollback_api_deployment(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.RollbackApiDeploymentRequest( - name="name_value", - revision_id="revision_id_value", - ) - - # Make the request - response = client.rollback_api_deployment(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_RollbackApiDeployment_sync_d5d9719b] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_rollback_api_spec_sync_9eeca7ec.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_rollback_api_spec_sync_9eeca7ec.py deleted file mode 100644 index fb48d9ec50ed..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_rollback_api_spec_sync_9eeca7ec.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for RollbackApiSpec -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_RollbackApiSpec_sync_9eeca7ec] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_rollback_api_spec(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.RollbackApiSpecRequest( - name="name_value", - revision_id="revision_id_value", - ) - - # Make the request - response = client.rollback_api_spec(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_RollbackApiSpec_sync_9eeca7ec] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_rollback_api_spec_sync_c6c8d091.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_rollback_api_spec_sync_c6c8d091.py deleted file mode 100644 index 4cbd1ae6f946..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_rollback_api_spec_sync_c6c8d091.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for RollbackApiSpec -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_RollbackApiSpec_sync_c6c8d091] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_rollback_api_spec(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.RollbackApiSpecRequest( - name="name_value", - revision_id="revision_id_value", - ) - - # Make the request - response = client.rollback_api_spec(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_RollbackApiSpec_sync_c6c8d091] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_tag_api_deployment_revision_sync_174bf899.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_tag_api_deployment_revision_sync_174bf899.py deleted file mode 100644 index 498580f5acc1..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_tag_api_deployment_revision_sync_174bf899.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for TagApiDeploymentRevision -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_TagApiDeploymentRevision_sync_174bf899] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_tag_api_deployment_revision(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.TagApiDeploymentRevisionRequest( - name="name_value", - tag="tag_value", - ) - - # Make the request - response = client.tag_api_deployment_revision(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_TagApiDeploymentRevision_sync_174bf899] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_tag_api_deployment_revision_sync_d989b918.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_tag_api_deployment_revision_sync_d989b918.py deleted file mode 100644 index a2829514669e..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_tag_api_deployment_revision_sync_d989b918.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for TagApiDeploymentRevision -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_TagApiDeploymentRevision_sync_d989b918] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_tag_api_deployment_revision(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.TagApiDeploymentRevisionRequest( - name="name_value", - tag="tag_value", - ) - - # Make the request - response = client.tag_api_deployment_revision(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_TagApiDeploymentRevision_sync_d989b918] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_tag_api_spec_revision_sync_a6fdf1e7.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_tag_api_spec_revision_sync_a6fdf1e7.py deleted file mode 100644 index 665e03f82f76..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_tag_api_spec_revision_sync_a6fdf1e7.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for TagApiSpecRevision -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_TagApiSpecRevision_sync_a6fdf1e7] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_tag_api_spec_revision(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.TagApiSpecRevisionRequest( - name="name_value", - tag="tag_value", - ) - - # Make the request - response = client.tag_api_spec_revision(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_TagApiSpecRevision_sync_a6fdf1e7] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_tag_api_spec_revision_sync_ffcb0393.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_tag_api_spec_revision_sync_ffcb0393.py deleted file mode 100644 index 2b198f8fce7b..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_tag_api_spec_revision_sync_ffcb0393.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for TagApiSpecRevision -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_TagApiSpecRevision_sync_ffcb0393] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_tag_api_spec_revision(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.TagApiSpecRevisionRequest( - name="name_value", - tag="tag_value", - ) - - # Make the request - response = client.tag_api_spec_revision(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_TagApiSpecRevision_sync_ffcb0393] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_deployment_sync_7711f86e.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_deployment_sync_7711f86e.py deleted file mode 100644 index ac7b9925a806..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_deployment_sync_7711f86e.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for UpdateApiDeployment -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_UpdateApiDeployment_sync_7711f86e] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_update_api_deployment(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.UpdateApiDeploymentRequest( - ) - - # Make the request - response = client.update_api_deployment(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_UpdateApiDeployment_sync_7711f86e] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_deployment_sync_ef7fd49e.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_deployment_sync_ef7fd49e.py deleted file mode 100644 index c20ddea79313..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_deployment_sync_ef7fd49e.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for UpdateApiDeployment -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_UpdateApiDeployment_sync_ef7fd49e] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_update_api_deployment(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.UpdateApiDeploymentRequest( - ) - - # Make the request - response = client.update_api_deployment(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_UpdateApiDeployment_sync_ef7fd49e] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_spec_sync_33f2f0c7.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_spec_sync_33f2f0c7.py deleted file mode 100644 index 0ff75c622d98..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_spec_sync_33f2f0c7.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for UpdateApiSpec -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_UpdateApiSpec_sync_33f2f0c7] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_update_api_spec(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.UpdateApiSpecRequest( - ) - - # Make the request - response = client.update_api_spec(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_UpdateApiSpec_sync_33f2f0c7] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_spec_sync_56582d58.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_spec_sync_56582d58.py deleted file mode 100644 index c8aca5190d90..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_spec_sync_56582d58.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for UpdateApiSpec -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_UpdateApiSpec_sync_56582d58] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_update_api_spec(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.UpdateApiSpecRequest( - ) - - # Make the request - response = client.update_api_spec(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_UpdateApiSpec_sync_56582d58] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_sync_a304797b.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_sync_a304797b.py deleted file mode 100644 index 23d0247340c3..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_sync_a304797b.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for UpdateApi -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_UpdateApi_sync_a304797b] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_update_api(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.UpdateApiRequest( - ) - - # Make the request - response = client.update_api(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_UpdateApi_sync_a304797b] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_sync_efb5a2e0.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_sync_efb5a2e0.py deleted file mode 100644 index 82385934ebf8..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_sync_efb5a2e0.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for UpdateApi -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_UpdateApi_sync_efb5a2e0] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_update_api(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.UpdateApiRequest( - ) - - # Make the request - response = client.update_api(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_UpdateApi_sync_efb5a2e0] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_version_sync_41a2051d.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_version_sync_41a2051d.py deleted file mode 100644 index fc326e1dab07..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_version_sync_41a2051d.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for UpdateApiVersion -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_UpdateApiVersion_sync_41a2051d] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_update_api_version(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.UpdateApiVersionRequest( - ) - - # Make the request - response = client.update_api_version(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_UpdateApiVersion_sync_41a2051d] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_version_sync_73ec8ff9.py b/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_version_sync_73ec8ff9.py deleted file mode 100644 index fd496234a672..000000000000 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_update_api_version_sync_73ec8ff9.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- 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. -# -# Generated code. DO NOT EDIT! -# -# Snippet for UpdateApiVersion -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-apigee-registry - - -# [START apigeeregistry_v1_generated_Registry_UpdateApiVersion_sync_73ec8ff9] -# This snippet has been automatically generated and should be regarded as a -# code template only. -# It will require modifications to work: -# - It may require correct/in-range values for request initialization. -# - It may require specifying regional endpoints when creating the service -# client as shown in: -# https://googleapis.dev/python/google-api-core/latest/client_options.html -from google.cloud import apigee_registry_v1 - - -def sample_update_api_version(): - # Create a client - client = apigee_registry_v1.RegistryClient() - - # Initialize request argument(s) - request = apigee_registry_v1.UpdateApiVersionRequest( - ) - - # Make the request - response = client.update_api_version(request=request) - - # Handle the response - print(response) - -# [END apigeeregistry_v1_generated_Registry_UpdateApiVersion_sync_73ec8ff9] diff --git a/packages/google-cloud-apigee-registry/samples/generated_samples/snippet_metadata_apigee registry_v1.json b/packages/google-cloud-apigee-registry/samples/generated_samples/snippet_metadata_apigee registry_v1.json index a7e4aa9e6073..b8761bb3cde4 100644 --- a/packages/google-cloud-apigee-registry/samples/generated_samples/snippet_metadata_apigee registry_v1.json +++ b/packages/google-cloud-apigee-registry/samples/generated_samples/snippet_metadata_apigee registry_v1.json @@ -149,7 +149,7 @@ "shortName": "create_instance" }, "description": "Sample for CreateInstance", - "file": "apigeeregistry_v1_generated_provisioning_create_instance_sync_99c0616d.py", + "file": "apigeeregistry_v1_generated_provisioning_create_instance_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", "regionTag": "apigeeregistry_v1_generated_Provisioning_CreateInstance_sync", @@ -185,95 +185,7 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_provisioning_create_instance_sync_99c0616d.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.ProvisioningClient", - "shortName": "ProvisioningClient" - }, - "fullName": "google.cloud.apigee_registry_v1.ProvisioningClient.create_instance", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Provisioning.CreateInstance", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Provisioning", - "shortName": "Provisioning" - }, - "shortName": "CreateInstance" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.CreateInstanceRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "instance", - "type": "google.cloud.apigee_registry_v1.types.Instance" - }, - { - "name": "instance_id", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.api_core.operation.Operation", - "shortName": "create_instance" - }, - "description": "Sample for CreateInstance", - "file": "apigeeregistry_v1_generated_provisioning_create_instance_sync_db60b650.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Provisioning_CreateInstance_sync", - "segments": [ - { - "end": 60, - "start": 27, - "type": "FULL" - }, - { - "end": 60, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 50, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 57, - "start": 51, - "type": "REQUEST_EXECUTION" - }, - { - "end": 61, - "start": 58, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_provisioning_create_instance_sync_db60b650.py" + "title": "apigeeregistry_v1_generated_provisioning_create_instance_sync.py" }, { "canonical": true, @@ -398,87 +310,7 @@ "shortName": "delete_instance" }, "description": "Sample for DeleteInstance", - "file": "apigeeregistry_v1_generated_provisioning_delete_instance_sync_8fbcb629.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Provisioning_DeleteInstance_sync", - "segments": [ - { - "end": 55, - "start": 27, - "type": "FULL" - }, - { - "end": 55, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 52, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 56, - "start": 53, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_provisioning_delete_instance_sync_8fbcb629.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.ProvisioningClient", - "shortName": "ProvisioningClient" - }, - "fullName": "google.cloud.apigee_registry_v1.ProvisioningClient.delete_instance", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Provisioning.DeleteInstance", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Provisioning", - "shortName": "Provisioning" - }, - "shortName": "DeleteInstance" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteInstanceRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.api_core.operation.Operation", - "shortName": "delete_instance" - }, - "description": "Sample for DeleteInstance", - "file": "apigeeregistry_v1_generated_provisioning_delete_instance_sync_1791bfe4.py", + "file": "apigeeregistry_v1_generated_provisioning_delete_instance_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", "regionTag": "apigeeregistry_v1_generated_Provisioning_DeleteInstance_sync", @@ -514,7 +346,7 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_provisioning_delete_instance_sync_1791bfe4.py" + "title": "apigeeregistry_v1_generated_provisioning_delete_instance_sync.py" }, { "canonical": true, @@ -639,7 +471,7 @@ "shortName": "get_instance" }, "description": "Sample for GetInstance", - "file": "apigeeregistry_v1_generated_provisioning_get_instance_sync_d52a931d.py", + "file": "apigeeregistry_v1_generated_provisioning_get_instance_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", "regionTag": "apigeeregistry_v1_generated_Provisioning_GetInstance_sync", @@ -675,31 +507,40 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_provisioning_get_instance_sync_d52a931d.py" + "title": "apigeeregistry_v1_generated_provisioning_get_instance_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.ProvisioningClient", - "shortName": "ProvisioningClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.ProvisioningClient.get_instance", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.create_api_deployment", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Provisioning.GetInstance", + "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiDeployment", "service": { - "fullName": "google.cloud.apigeeregistry.v1.Provisioning", - "shortName": "Provisioning" + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" }, - "shortName": "GetInstance" + "shortName": "CreateApiDeployment" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetInstanceRequest" + "type": "google.cloud.apigee_registry_v1.types.CreateApiDeploymentRequest" }, { - "name": "name", + "name": "parent", + "type": "str" + }, + { + "name": "api_deployment", + "type": "google.cloud.apigee_registry_v1.types.ApiDeployment" + }, + { + "name": "api_deployment_id", "type": "str" }, { @@ -715,22 +556,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.Instance", - "shortName": "get_instance" + "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", + "shortName": "create_api_deployment" }, - "description": "Sample for GetInstance", - "file": "apigeeregistry_v1_generated_provisioning_get_instance_sync_7c15b370.py", + "description": "Sample for CreateApiDeployment", + "file": "apigeeregistry_v1_generated_registry_create_api_deployment_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Provisioning_GetInstance_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiDeployment_async", "segments": [ { - "end": 51, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 52, "start": 27, "type": "SHORT" }, @@ -740,32 +581,31 @@ "type": "CLIENT_INITIALIZATION" }, { - "end": 45, + "end": 46, "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 48, - "start": 46, + "end": 49, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 52, - "start": 49, + "end": 53, + "start": 50, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_provisioning_get_instance_sync_7c15b370.py" + "title": "apigeeregistry_v1_generated_registry_create_api_deployment_async.py" }, { "canonical": true, "clientMethod": { - "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryClient", + "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.create_api_deployment", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.create_api_deployment", "method": { "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiDeployment", "service": { @@ -808,10 +648,10 @@ "shortName": "create_api_deployment" }, "description": "Sample for CreateApiDeployment", - "file": "apigeeregistry_v1_generated_registry_create_api_deployment_async.py", + "file": "apigeeregistry_v1_generated_registry_create_api_deployment_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiDeployment_async", + "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiDeployment_sync", "segments": [ { "end": 52, @@ -844,39 +684,40 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_create_api_deployment_async.py" + "title": "apigeeregistry_v1_generated_registry_create_api_deployment_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.create_api_deployment", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.create_api_spec", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiDeployment", + "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiSpec", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "CreateApiDeployment" + "shortName": "CreateApiSpec" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.CreateApiDeploymentRequest" + "type": "google.cloud.apigee_registry_v1.types.CreateApiSpecRequest" }, { "name": "parent", "type": "str" }, { - "name": "api_deployment", - "type": "google.cloud.apigee_registry_v1.types.ApiDeployment" + "name": "api_spec", + "type": "google.cloud.apigee_registry_v1.types.ApiSpec" }, { - "name": "api_deployment_id", + "name": "api_spec_id", "type": "str" }, { @@ -892,14 +733,14 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", - "shortName": "create_api_deployment" + "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", + "shortName": "create_api_spec" }, - "description": "Sample for CreateApiDeployment", - "file": "apigeeregistry_v1_generated_registry_create_api_deployment_sync_ed13f1bd.py", + "description": "Sample for CreateApiSpec", + "file": "apigeeregistry_v1_generated_registry_create_api_spec_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiDeployment_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiSpec_async", "segments": [ { "end": 52, @@ -932,7 +773,7 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_create_api_deployment_sync_ed13f1bd.py" + "title": "apigeeregistry_v1_generated_registry_create_api_spec_async.py" }, { "canonical": true, @@ -941,30 +782,30 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.create_api_deployment", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.create_api_spec", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiDeployment", + "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiSpec", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "CreateApiDeployment" + "shortName": "CreateApiSpec" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.CreateApiDeploymentRequest" + "type": "google.cloud.apigee_registry_v1.types.CreateApiSpecRequest" }, { "name": "parent", "type": "str" }, { - "name": "api_deployment", - "type": "google.cloud.apigee_registry_v1.types.ApiDeployment" + "name": "api_spec", + "type": "google.cloud.apigee_registry_v1.types.ApiSpec" }, { - "name": "api_deployment_id", + "name": "api_spec_id", "type": "str" }, { @@ -980,14 +821,14 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", - "shortName": "create_api_deployment" + "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", + "shortName": "create_api_spec" }, - "description": "Sample for CreateApiDeployment", - "file": "apigeeregistry_v1_generated_registry_create_api_deployment_sync_51197a3c.py", + "description": "Sample for CreateApiSpec", + "file": "apigeeregistry_v1_generated_registry_create_api_spec_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiDeployment_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiSpec_sync", "segments": [ { "end": 52, @@ -1020,7 +861,7 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_create_api_deployment_sync_51197a3c.py" + "title": "apigeeregistry_v1_generated_registry_create_api_spec_sync.py" }, { "canonical": true, @@ -1030,30 +871,30 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.create_api_spec", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.create_api_version", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiSpec", + "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiVersion", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "CreateApiSpec" + "shortName": "CreateApiVersion" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.CreateApiSpecRequest" + "type": "google.cloud.apigee_registry_v1.types.CreateApiVersionRequest" }, { "name": "parent", "type": "str" }, { - "name": "api_spec", - "type": "google.cloud.apigee_registry_v1.types.ApiSpec" + "name": "api_version", + "type": "google.cloud.apigee_registry_v1.types.ApiVersion" }, { - "name": "api_spec_id", + "name": "api_version_id", "type": "str" }, { @@ -1069,14 +910,14 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", - "shortName": "create_api_spec" + "resultType": "google.cloud.apigee_registry_v1.types.ApiVersion", + "shortName": "create_api_version" }, - "description": "Sample for CreateApiSpec", - "file": "apigeeregistry_v1_generated_registry_create_api_spec_async.py", + "description": "Sample for CreateApiVersion", + "file": "apigeeregistry_v1_generated_registry_create_api_version_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiSpec_async", + "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiVersion_async", "segments": [ { "end": 52, @@ -1109,7 +950,7 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_create_api_spec_async.py" + "title": "apigeeregistry_v1_generated_registry_create_api_version_async.py" }, { "canonical": true, @@ -1118,30 +959,30 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.create_api_spec", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.create_api_version", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiSpec", + "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiVersion", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "CreateApiSpec" + "shortName": "CreateApiVersion" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.CreateApiSpecRequest" + "type": "google.cloud.apigee_registry_v1.types.CreateApiVersionRequest" }, { "name": "parent", "type": "str" }, { - "name": "api_spec", - "type": "google.cloud.apigee_registry_v1.types.ApiSpec" + "name": "api_version", + "type": "google.cloud.apigee_registry_v1.types.ApiVersion" }, { - "name": "api_spec_id", + "name": "api_version_id", "type": "str" }, { @@ -1157,14 +998,14 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", - "shortName": "create_api_spec" + "resultType": "google.cloud.apigee_registry_v1.types.ApiVersion", + "shortName": "create_api_version" }, - "description": "Sample for CreateApiSpec", - "file": "apigeeregistry_v1_generated_registry_create_api_spec_sync_8c746412.py", + "description": "Sample for CreateApiVersion", + "file": "apigeeregistry_v1_generated_registry_create_api_version_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiSpec_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiVersion_sync", "segments": [ { "end": 52, @@ -1197,39 +1038,40 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_create_api_spec_sync_8c746412.py" + "title": "apigeeregistry_v1_generated_registry_create_api_version_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.create_api_spec", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.create_api", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiSpec", + "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApi", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "CreateApiSpec" + "shortName": "CreateApi" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.CreateApiSpecRequest" + "type": "google.cloud.apigee_registry_v1.types.CreateApiRequest" }, { "name": "parent", "type": "str" }, { - "name": "api_spec", - "type": "google.cloud.apigee_registry_v1.types.ApiSpec" + "name": "api", + "type": "google.cloud.apigee_registry_v1.types.Api" }, { - "name": "api_spec_id", + "name": "api_id", "type": "str" }, { @@ -1245,14 +1087,14 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", - "shortName": "create_api_spec" + "resultType": "google.cloud.apigee_registry_v1.types.Api", + "shortName": "create_api" }, - "description": "Sample for CreateApiSpec", - "file": "apigeeregistry_v1_generated_registry_create_api_spec_sync_13d906f3.py", + "description": "Sample for CreateApi", + "file": "apigeeregistry_v1_generated_registry_create_api_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiSpec_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_CreateApi_async", "segments": [ { "end": 52, @@ -1285,40 +1127,39 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_create_api_spec_sync_13d906f3.py" + "title": "apigeeregistry_v1_generated_registry_create_api_async.py" }, { "canonical": true, "clientMethod": { - "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryClient", + "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.create_api_version", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.create_api", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiVersion", + "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApi", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "CreateApiVersion" + "shortName": "CreateApi" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.CreateApiVersionRequest" + "type": "google.cloud.apigee_registry_v1.types.CreateApiRequest" }, { "name": "parent", "type": "str" }, { - "name": "api_version", - "type": "google.cloud.apigee_registry_v1.types.ApiVersion" + "name": "api", + "type": "google.cloud.apigee_registry_v1.types.Api" }, { - "name": "api_version_id", + "name": "api_id", "type": "str" }, { @@ -1334,14 +1175,14 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiVersion", - "shortName": "create_api_version" + "resultType": "google.cloud.apigee_registry_v1.types.Api", + "shortName": "create_api" }, - "description": "Sample for CreateApiVersion", - "file": "apigeeregistry_v1_generated_registry_create_api_version_async.py", + "description": "Sample for CreateApi", + "file": "apigeeregistry_v1_generated_registry_create_api_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiVersion_async", + "regionTag": "apigeeregistry_v1_generated_Registry_CreateApi_sync", "segments": [ { "end": 52, @@ -1374,39 +1215,40 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_create_api_version_async.py" + "title": "apigeeregistry_v1_generated_registry_create_api_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.create_api_version", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.create_artifact", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiVersion", + "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateArtifact", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "CreateApiVersion" + "shortName": "CreateArtifact" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.CreateApiVersionRequest" + "type": "google.cloud.apigee_registry_v1.types.CreateArtifactRequest" }, { "name": "parent", "type": "str" }, { - "name": "api_version", - "type": "google.cloud.apigee_registry_v1.types.ApiVersion" + "name": "artifact", + "type": "google.cloud.apigee_registry_v1.types.Artifact" }, { - "name": "api_version_id", + "name": "artifact_id", "type": "str" }, { @@ -1422,14 +1264,14 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiVersion", - "shortName": "create_api_version" + "resultType": "google.cloud.apigee_registry_v1.types.Artifact", + "shortName": "create_artifact" }, - "description": "Sample for CreateApiVersion", - "file": "apigeeregistry_v1_generated_registry_create_api_version_sync_68e37c0b.py", + "description": "Sample for CreateArtifact", + "file": "apigeeregistry_v1_generated_registry_create_artifact_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiVersion_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_CreateArtifact_async", "segments": [ { "end": 52, @@ -1462,7 +1304,7 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_create_api_version_sync_68e37c0b.py" + "title": "apigeeregistry_v1_generated_registry_create_artifact_async.py" }, { "canonical": true, @@ -1471,30 +1313,30 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.create_api_version", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.create_artifact", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiVersion", + "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateArtifact", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "CreateApiVersion" + "shortName": "CreateArtifact" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.CreateApiVersionRequest" + "type": "google.cloud.apigee_registry_v1.types.CreateArtifactRequest" }, { "name": "parent", "type": "str" }, { - "name": "api_version", - "type": "google.cloud.apigee_registry_v1.types.ApiVersion" + "name": "artifact", + "type": "google.cloud.apigee_registry_v1.types.Artifact" }, { - "name": "api_version_id", + "name": "artifact_id", "type": "str" }, { @@ -1510,14 +1352,14 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiVersion", - "shortName": "create_api_version" + "resultType": "google.cloud.apigee_registry_v1.types.Artifact", + "shortName": "create_artifact" }, - "description": "Sample for CreateApiVersion", - "file": "apigeeregistry_v1_generated_registry_create_api_version_sync_3949e992.py", + "description": "Sample for CreateArtifact", + "file": "apigeeregistry_v1_generated_registry_create_artifact_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiVersion_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_CreateArtifact_sync", "segments": [ { "end": 52, @@ -1550,7 +1392,7 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_create_api_version_sync_3949e992.py" + "title": "apigeeregistry_v1_generated_registry_create_artifact_sync.py" }, { "canonical": true, @@ -1560,30 +1402,22 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.create_api", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.delete_api_deployment_revision", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApi", + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiDeploymentRevision", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "CreateApi" + "shortName": "DeleteApiDeploymentRevision" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.CreateApiRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "api", - "type": "google.cloud.apigee_registry_v1.types.Api" + "type": "google.cloud.apigee_registry_v1.types.DeleteApiDeploymentRevisionRequest" }, { - "name": "api_id", + "name": "name", "type": "str" }, { @@ -1599,22 +1433,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.Api", - "shortName": "create_api" + "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", + "shortName": "delete_api_deployment_revision" }, - "description": "Sample for CreateApi", - "file": "apigeeregistry_v1_generated_registry_create_api_async.py", + "description": "Sample for DeleteApiDeploymentRevision", + "file": "apigeeregistry_v1_generated_registry_delete_api_deployment_revision_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_CreateApi_async", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiDeploymentRevision_async", "segments": [ { - "end": 52, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 52, + "end": 51, "start": 27, "type": "SHORT" }, @@ -1624,22 +1458,22 @@ "type": "CLIENT_INITIALIZATION" }, { - "end": 46, + "end": 45, "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 49, - "start": 47, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 53, - "start": 50, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_create_api_async.py" + "title": "apigeeregistry_v1_generated_registry_delete_api_deployment_revision_async.py" }, { "canonical": true, @@ -1648,30 +1482,22 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.create_api", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_api_deployment_revision", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApi", + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiDeploymentRevision", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "CreateApi" + "shortName": "DeleteApiDeploymentRevision" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.CreateApiRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "api", - "type": "google.cloud.apigee_registry_v1.types.Api" + "type": "google.cloud.apigee_registry_v1.types.DeleteApiDeploymentRevisionRequest" }, { - "name": "api_id", + "name": "name", "type": "str" }, { @@ -1687,22 +1513,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.Api", - "shortName": "create_api" + "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", + "shortName": "delete_api_deployment_revision" }, - "description": "Sample for CreateApi", - "file": "apigeeregistry_v1_generated_registry_create_api_sync_a80ac305.py", + "description": "Sample for DeleteApiDeploymentRevision", + "file": "apigeeregistry_v1_generated_registry_delete_api_deployment_revision_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_CreateApi_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiDeploymentRevision_sync", "segments": [ { - "end": 52, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 52, + "end": 51, "start": 27, "type": "SHORT" }, @@ -1712,54 +1538,47 @@ "type": "CLIENT_INITIALIZATION" }, { - "end": 46, + "end": 45, "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 49, - "start": 47, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 53, - "start": 50, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_create_api_sync_a80ac305.py" + "title": "apigeeregistry_v1_generated_registry_delete_api_deployment_revision_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.create_api", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.delete_api_deployment", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApi", + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiDeployment", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "CreateApi" + "shortName": "DeleteApiDeployment" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.CreateApiRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "api", - "type": "google.cloud.apigee_registry_v1.types.Api" + "type": "google.cloud.apigee_registry_v1.types.DeleteApiDeploymentRequest" }, { - "name": "api_id", + "name": "name", "type": "str" }, { @@ -1775,22 +1594,21 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.Api", - "shortName": "create_api" + "shortName": "delete_api_deployment" }, - "description": "Sample for CreateApi", - "file": "apigeeregistry_v1_generated_registry_create_api_sync_eaa94940.py", + "description": "Sample for DeleteApiDeployment", + "file": "apigeeregistry_v1_generated_registry_delete_api_deployment_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_CreateApi_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiDeployment_async", "segments": [ { - "end": 52, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 52, + "end": 49, "start": 27, "type": "SHORT" }, @@ -1800,55 +1618,44 @@ "type": "CLIENT_INITIALIZATION" }, { - "end": 46, + "end": 45, "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 49, - "start": 47, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 53, - "start": 50, + "end": 50, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_create_api_sync_eaa94940.py" + "title": "apigeeregistry_v1_generated_registry_delete_api_deployment_async.py" }, { "canonical": true, "clientMethod": { - "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryClient", + "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.create_artifact", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_api_deployment", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateArtifact", + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiDeployment", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "CreateArtifact" + "shortName": "DeleteApiDeployment" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.CreateArtifactRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "artifact", - "type": "google.cloud.apigee_registry_v1.types.Artifact" + "type": "google.cloud.apigee_registry_v1.types.DeleteApiDeploymentRequest" }, { - "name": "artifact_id", + "name": "name", "type": "str" }, { @@ -1864,22 +1671,21 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.Artifact", - "shortName": "create_artifact" + "shortName": "delete_api_deployment" }, - "description": "Sample for CreateArtifact", - "file": "apigeeregistry_v1_generated_registry_create_artifact_async.py", + "description": "Sample for DeleteApiDeployment", + "file": "apigeeregistry_v1_generated_registry_delete_api_deployment_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_CreateArtifact_async", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiDeployment_sync", "segments": [ { - "end": 52, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 52, + "end": 49, "start": 27, "type": "SHORT" }, @@ -1889,54 +1695,45 @@ "type": "CLIENT_INITIALIZATION" }, { - "end": 46, + "end": 45, "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 49, - "start": 47, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 53, - "start": 50, + "end": 50, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_create_artifact_async.py" + "title": "apigeeregistry_v1_generated_registry_delete_api_deployment_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.create_artifact", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.delete_api_spec_revision", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateArtifact", + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiSpecRevision", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "CreateArtifact" + "shortName": "DeleteApiSpecRevision" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.CreateArtifactRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "artifact", - "type": "google.cloud.apigee_registry_v1.types.Artifact" + "type": "google.cloud.apigee_registry_v1.types.DeleteApiSpecRevisionRequest" }, { - "name": "artifact_id", + "name": "name", "type": "str" }, { @@ -1952,22 +1749,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.Artifact", - "shortName": "create_artifact" + "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", + "shortName": "delete_api_spec_revision" }, - "description": "Sample for CreateArtifact", - "file": "apigeeregistry_v1_generated_registry_create_artifact_sync_1fc1b003.py", + "description": "Sample for DeleteApiSpecRevision", + "file": "apigeeregistry_v1_generated_registry_delete_api_spec_revision_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_CreateArtifact_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiSpecRevision_async", "segments": [ { - "end": 52, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 52, + "end": 51, "start": 27, "type": "SHORT" }, @@ -1977,22 +1774,22 @@ "type": "CLIENT_INITIALIZATION" }, { - "end": 46, + "end": 45, "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 49, - "start": 47, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 53, - "start": 50, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_create_artifact_sync_1fc1b003.py" + "title": "apigeeregistry_v1_generated_registry_delete_api_spec_revision_async.py" }, { "canonical": true, @@ -2001,30 +1798,22 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.create_artifact", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_api_spec_revision", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateArtifact", + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiSpecRevision", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "CreateArtifact" + "shortName": "DeleteApiSpecRevision" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.CreateArtifactRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "artifact", - "type": "google.cloud.apigee_registry_v1.types.Artifact" + "type": "google.cloud.apigee_registry_v1.types.DeleteApiSpecRevisionRequest" }, { - "name": "artifact_id", + "name": "name", "type": "str" }, { @@ -2040,22 +1829,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.Artifact", - "shortName": "create_artifact" + "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", + "shortName": "delete_api_spec_revision" }, - "description": "Sample for CreateArtifact", - "file": "apigeeregistry_v1_generated_registry_create_artifact_sync_8b3636ad.py", + "description": "Sample for DeleteApiSpecRevision", + "file": "apigeeregistry_v1_generated_registry_delete_api_spec_revision_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_CreateArtifact_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiSpecRevision_sync", "segments": [ { - "end": 52, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 52, + "end": 51, "start": 27, "type": "SHORT" }, @@ -2065,22 +1854,22 @@ "type": "CLIENT_INITIALIZATION" }, { - "end": 46, + "end": 45, "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 49, - "start": 47, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 53, - "start": 50, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_create_artifact_sync_8b3636ad.py" + "title": "apigeeregistry_v1_generated_registry_delete_api_spec_revision_sync.py" }, { "canonical": true, @@ -2090,19 +1879,19 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.delete_api_deployment_revision", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.delete_api_spec", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiDeploymentRevision", + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiSpec", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteApiDeploymentRevision" + "shortName": "DeleteApiSpec" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteApiDeploymentRevisionRequest" + "type": "google.cloud.apigee_registry_v1.types.DeleteApiSpecRequest" }, { "name": "name", @@ -2121,22 +1910,21 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", - "shortName": "delete_api_deployment_revision" + "shortName": "delete_api_spec" }, - "description": "Sample for DeleteApiDeploymentRevision", - "file": "apigeeregistry_v1_generated_registry_delete_api_deployment_revision_async.py", + "description": "Sample for DeleteApiSpec", + "file": "apigeeregistry_v1_generated_registry_delete_api_spec_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiDeploymentRevision_async", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiSpec_async", "segments": [ { - "end": 51, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 49, "start": 27, "type": "SHORT" }, @@ -2151,17 +1939,15 @@ "type": "REQUEST_INITIALIZATION" }, { - "end": 48, "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 52, - "start": 49, + "end": 50, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_api_deployment_revision_async.py" + "title": "apigeeregistry_v1_generated_registry_delete_api_spec_async.py" }, { "canonical": true, @@ -2170,19 +1956,19 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_api_deployment_revision", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_api_spec", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiDeploymentRevision", + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiSpec", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteApiDeploymentRevision" + "shortName": "DeleteApiSpec" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteApiDeploymentRevisionRequest" + "type": "google.cloud.apigee_registry_v1.types.DeleteApiSpecRequest" }, { "name": "name", @@ -2201,22 +1987,21 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", - "shortName": "delete_api_deployment_revision" + "shortName": "delete_api_spec" }, - "description": "Sample for DeleteApiDeploymentRevision", - "file": "apigeeregistry_v1_generated_registry_delete_api_deployment_revision_sync_3823da5c.py", + "description": "Sample for DeleteApiSpec", + "file": "apigeeregistry_v1_generated_registry_delete_api_spec_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiDeploymentRevision_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiSpec_sync", "segments": [ { - "end": 51, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 49, "start": 27, "type": "SHORT" }, @@ -2231,38 +2016,37 @@ "type": "REQUEST_INITIALIZATION" }, { - "end": 48, "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 52, - "start": 49, + "end": 50, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_api_deployment_revision_sync_3823da5c.py" + "title": "apigeeregistry_v1_generated_registry_delete_api_spec_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_api_deployment_revision", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.delete_api_version", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiDeploymentRevision", + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiVersion", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteApiDeploymentRevision" + "shortName": "DeleteApiVersion" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteApiDeploymentRevisionRequest" + "type": "google.cloud.apigee_registry_v1.types.DeleteApiVersionRequest" }, { "name": "name", @@ -2281,22 +2065,21 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", - "shortName": "delete_api_deployment_revision" + "shortName": "delete_api_version" }, - "description": "Sample for DeleteApiDeploymentRevision", - "file": "apigeeregistry_v1_generated_registry_delete_api_deployment_revision_sync_9d74aad9.py", + "description": "Sample for DeleteApiVersion", + "file": "apigeeregistry_v1_generated_registry_delete_api_version_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiDeploymentRevision_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiVersion_async", "segments": [ { - "end": 51, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 49, "start": 27, "type": "SHORT" }, @@ -2311,39 +2094,36 @@ "type": "REQUEST_INITIALIZATION" }, { - "end": 48, "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 52, - "start": 49, + "end": 50, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_api_deployment_revision_sync_9d74aad9.py" + "title": "apigeeregistry_v1_generated_registry_delete_api_version_async.py" }, { "canonical": true, "clientMethod": { - "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryClient", + "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.delete_api_deployment", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_api_version", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiDeployment", + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiVersion", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteApiDeployment" + "shortName": "DeleteApiVersion" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteApiDeploymentRequest" + "type": "google.cloud.apigee_registry_v1.types.DeleteApiVersionRequest" }, { "name": "name", @@ -2362,13 +2142,13 @@ "type": "Sequence[Tuple[str, str]" } ], - "shortName": "delete_api_deployment" + "shortName": "delete_api_version" }, - "description": "Sample for DeleteApiDeployment", - "file": "apigeeregistry_v1_generated_registry_delete_api_deployment_async.py", + "description": "Sample for DeleteApiVersion", + "file": "apigeeregistry_v1_generated_registry_delete_api_version_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiDeployment_async", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiVersion_sync", "segments": [ { "end": 49, @@ -2399,28 +2179,29 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_api_deployment_async.py" + "title": "apigeeregistry_v1_generated_registry_delete_api_version_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_api_deployment", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.delete_api", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiDeployment", + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApi", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteApiDeployment" + "shortName": "DeleteApi" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteApiDeploymentRequest" + "type": "google.cloud.apigee_registry_v1.types.DeleteApiRequest" }, { "name": "name", @@ -2439,13 +2220,13 @@ "type": "Sequence[Tuple[str, str]" } ], - "shortName": "delete_api_deployment" + "shortName": "delete_api" }, - "description": "Sample for DeleteApiDeployment", - "file": "apigeeregistry_v1_generated_registry_delete_api_deployment_sync_9b8bc191.py", + "description": "Sample for DeleteApi", + "file": "apigeeregistry_v1_generated_registry_delete_api_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiDeployment_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApi_async", "segments": [ { "end": 49, @@ -2476,7 +2257,7 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_api_deployment_sync_9b8bc191.py" + "title": "apigeeregistry_v1_generated_registry_delete_api_async.py" }, { "canonical": true, @@ -2485,19 +2266,19 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_api_deployment", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_api", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiDeployment", + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApi", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteApiDeployment" + "shortName": "DeleteApi" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteApiDeploymentRequest" + "type": "google.cloud.apigee_registry_v1.types.DeleteApiRequest" }, { "name": "name", @@ -2516,13 +2297,13 @@ "type": "Sequence[Tuple[str, str]" } ], - "shortName": "delete_api_deployment" + "shortName": "delete_api" }, - "description": "Sample for DeleteApiDeployment", - "file": "apigeeregistry_v1_generated_registry_delete_api_deployment_sync_3cfb1726.py", + "description": "Sample for DeleteApi", + "file": "apigeeregistry_v1_generated_registry_delete_api_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiDeployment_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApi_sync", "segments": [ { "end": 49, @@ -2553,7 +2334,7 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_api_deployment_sync_3cfb1726.py" + "title": "apigeeregistry_v1_generated_registry_delete_api_sync.py" }, { "canonical": true, @@ -2563,19 +2344,19 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.delete_api_spec_revision", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.delete_artifact", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiSpecRevision", + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteArtifact", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteApiSpecRevision" + "shortName": "DeleteArtifact" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteApiSpecRevisionRequest" + "type": "google.cloud.apigee_registry_v1.types.DeleteArtifactRequest" }, { "name": "name", @@ -2594,22 +2375,21 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", - "shortName": "delete_api_spec_revision" + "shortName": "delete_artifact" }, - "description": "Sample for DeleteApiSpecRevision", - "file": "apigeeregistry_v1_generated_registry_delete_api_spec_revision_async.py", + "description": "Sample for DeleteArtifact", + "file": "apigeeregistry_v1_generated_registry_delete_artifact_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiSpecRevision_async", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteArtifact_async", "segments": [ { - "end": 51, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 49, "start": 27, "type": "SHORT" }, @@ -2624,17 +2404,15 @@ "type": "REQUEST_INITIALIZATION" }, { - "end": 48, "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 52, - "start": 49, + "end": 50, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_api_spec_revision_async.py" + "title": "apigeeregistry_v1_generated_registry_delete_artifact_async.py" }, { "canonical": true, @@ -2643,19 +2421,19 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_api_spec_revision", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_artifact", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiSpecRevision", + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteArtifact", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteApiSpecRevision" + "shortName": "DeleteArtifact" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteApiSpecRevisionRequest" + "type": "google.cloud.apigee_registry_v1.types.DeleteArtifactRequest" }, { "name": "name", @@ -2674,22 +2452,21 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", - "shortName": "delete_api_spec_revision" + "shortName": "delete_artifact" }, - "description": "Sample for DeleteApiSpecRevision", - "file": "apigeeregistry_v1_generated_registry_delete_api_spec_revision_sync_4ccdbbe6.py", + "description": "Sample for DeleteArtifact", + "file": "apigeeregistry_v1_generated_registry_delete_artifact_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiSpecRevision_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteArtifact_sync", "segments": [ { - "end": 51, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 49, "start": 27, "type": "SHORT" }, @@ -2704,38 +2481,37 @@ "type": "REQUEST_INITIALIZATION" }, { - "end": 48, "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 52, - "start": 49, + "end": 50, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_api_spec_revision_sync_4ccdbbe6.py" + "title": "apigeeregistry_v1_generated_registry_delete_artifact_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_api_spec_revision", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.get_api_deployment", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiSpecRevision", + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiDeployment", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteApiSpecRevision" + "shortName": "GetApiDeployment" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteApiSpecRevisionRequest" + "type": "google.cloud.apigee_registry_v1.types.GetApiDeploymentRequest" }, { "name": "name", @@ -2754,14 +2530,14 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", - "shortName": "delete_api_spec_revision" + "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", + "shortName": "get_api_deployment" }, - "description": "Sample for DeleteApiSpecRevision", - "file": "apigeeregistry_v1_generated_registry_delete_api_spec_revision_sync_ab064abb.py", + "description": "Sample for GetApiDeployment", + "file": "apigeeregistry_v1_generated_registry_get_api_deployment_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiSpecRevision_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_GetApiDeployment_async", "segments": [ { "end": 51, @@ -2794,29 +2570,28 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_api_spec_revision_sync_ab064abb.py" + "title": "apigeeregistry_v1_generated_registry_get_api_deployment_async.py" }, { "canonical": true, "clientMethod": { - "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryClient", + "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.delete_api_spec", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_api_deployment", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiSpec", + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiDeployment", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteApiSpec" + "shortName": "GetApiDeployment" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteApiSpecRequest" + "type": "google.cloud.apigee_registry_v1.types.GetApiDeploymentRequest" }, { "name": "name", @@ -2835,21 +2610,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "shortName": "delete_api_spec" + "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", + "shortName": "get_api_deployment" }, - "description": "Sample for DeleteApiSpec", - "file": "apigeeregistry_v1_generated_registry_delete_api_spec_async.py", + "description": "Sample for GetApiDeployment", + "file": "apigeeregistry_v1_generated_registry_get_api_deployment_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiSpec_async", + "regionTag": "apigeeregistry_v1_generated_Registry_GetApiDeployment_sync", "segments": [ { - "end": 49, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 49, + "end": 51, "start": 27, "type": "SHORT" }, @@ -2864,36 +2640,39 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 48, "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 50, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_api_spec_async.py" + "title": "apigeeregistry_v1_generated_registry_get_api_deployment_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_api_spec", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.get_api_spec_contents", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiSpec", + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiSpecContents", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteApiSpec" + "shortName": "GetApiSpecContents" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteApiSpecRequest" + "type": "google.cloud.apigee_registry_v1.types.GetApiSpecContentsRequest" }, { "name": "name", @@ -2912,21 +2691,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "shortName": "delete_api_spec" + "resultType": "google.api.httpbody_pb2.HttpBody", + "shortName": "get_api_spec_contents" }, - "description": "Sample for DeleteApiSpec", - "file": "apigeeregistry_v1_generated_registry_delete_api_spec_sync_5db34200.py", + "description": "Sample for GetApiSpecContents", + "file": "apigeeregistry_v1_generated_registry_get_api_spec_contents_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiSpec_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_GetApiSpecContents_async", "segments": [ { - "end": 49, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 49, + "end": 51, "start": 27, "type": "SHORT" }, @@ -2941,15 +2721,17 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 48, "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 50, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_api_spec_sync_5db34200.py" + "title": "apigeeregistry_v1_generated_registry_get_api_spec_contents_async.py" }, { "canonical": true, @@ -2958,19 +2740,19 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_api_spec", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_api_spec_contents", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiSpec", + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiSpecContents", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteApiSpec" + "shortName": "GetApiSpecContents" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteApiSpecRequest" + "type": "google.cloud.apigee_registry_v1.types.GetApiSpecContentsRequest" }, { "name": "name", @@ -2989,21 +2771,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "shortName": "delete_api_spec" + "resultType": "google.api.httpbody_pb2.HttpBody", + "shortName": "get_api_spec_contents" }, - "description": "Sample for DeleteApiSpec", - "file": "apigeeregistry_v1_generated_registry_delete_api_spec_sync_f7ac362c.py", + "description": "Sample for GetApiSpecContents", + "file": "apigeeregistry_v1_generated_registry_get_api_spec_contents_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiSpec_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_GetApiSpecContents_sync", "segments": [ { - "end": 49, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 49, + "end": 51, "start": 27, "type": "SHORT" }, @@ -3018,15 +2801,17 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 48, "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 50, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_api_spec_sync_f7ac362c.py" + "title": "apigeeregistry_v1_generated_registry_get_api_spec_contents_sync.py" }, { "canonical": true, @@ -3036,19 +2821,19 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.delete_api_version", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.get_api_spec", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiVersion", + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiSpec", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteApiVersion" + "shortName": "GetApiSpec" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteApiVersionRequest" + "type": "google.cloud.apigee_registry_v1.types.GetApiSpecRequest" }, { "name": "name", @@ -3067,21 +2852,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "shortName": "delete_api_version" + "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", + "shortName": "get_api_spec" }, - "description": "Sample for DeleteApiVersion", - "file": "apigeeregistry_v1_generated_registry_delete_api_version_async.py", + "description": "Sample for GetApiSpec", + "file": "apigeeregistry_v1_generated_registry_get_api_spec_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiVersion_async", + "regionTag": "apigeeregistry_v1_generated_Registry_GetApiSpec_async", "segments": [ { - "end": 49, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 49, + "end": 51, "start": 27, "type": "SHORT" }, @@ -3096,15 +2882,17 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 48, "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 50, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_api_version_async.py" + "title": "apigeeregistry_v1_generated_registry_get_api_spec_async.py" }, { "canonical": true, @@ -3113,19 +2901,19 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_api_version", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_api_spec", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiVersion", + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiSpec", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteApiVersion" + "shortName": "GetApiSpec" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteApiVersionRequest" + "type": "google.cloud.apigee_registry_v1.types.GetApiSpecRequest" }, { "name": "name", @@ -3144,21 +2932,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "shortName": "delete_api_version" + "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", + "shortName": "get_api_spec" }, - "description": "Sample for DeleteApiVersion", - "file": "apigeeregistry_v1_generated_registry_delete_api_version_sync_2e9f3456.py", + "description": "Sample for GetApiSpec", + "file": "apigeeregistry_v1_generated_registry_get_api_spec_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiVersion_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_GetApiSpec_sync", "segments": [ { - "end": 49, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 49, + "end": 51, "start": 27, "type": "SHORT" }, @@ -3173,36 +2962,39 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 48, "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 50, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_api_version_sync_2e9f3456.py" + "title": "apigeeregistry_v1_generated_registry_get_api_spec_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_api_version", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.get_api_version", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiVersion", + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiVersion", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteApiVersion" + "shortName": "GetApiVersion" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteApiVersionRequest" + "type": "google.cloud.apigee_registry_v1.types.GetApiVersionRequest" }, { "name": "name", @@ -3221,21 +3013,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "shortName": "delete_api_version" + "resultType": "google.cloud.apigee_registry_v1.types.ApiVersion", + "shortName": "get_api_version" }, - "description": "Sample for DeleteApiVersion", - "file": "apigeeregistry_v1_generated_registry_delete_api_version_sync_ce0fedd8.py", + "description": "Sample for GetApiVersion", + "file": "apigeeregistry_v1_generated_registry_get_api_version_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiVersion_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_GetApiVersion_async", "segments": [ { - "end": 49, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 49, + "end": 51, "start": 27, "type": "SHORT" }, @@ -3250,37 +3043,38 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 48, "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 50, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_api_version_sync_ce0fedd8.py" + "title": "apigeeregistry_v1_generated_registry_get_api_version_async.py" }, { "canonical": true, "clientMethod": { - "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryClient", + "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.delete_api", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_api_version", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApi", + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiVersion", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteApi" + "shortName": "GetApiVersion" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteApiRequest" + "type": "google.cloud.apigee_registry_v1.types.GetApiVersionRequest" }, { "name": "name", @@ -3299,21 +3093,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "shortName": "delete_api" + "resultType": "google.cloud.apigee_registry_v1.types.ApiVersion", + "shortName": "get_api_version" }, - "description": "Sample for DeleteApi", - "file": "apigeeregistry_v1_generated_registry_delete_api_async.py", + "description": "Sample for GetApiVersion", + "file": "apigeeregistry_v1_generated_registry_get_api_version_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApi_async", + "regionTag": "apigeeregistry_v1_generated_Registry_GetApiVersion_sync", "segments": [ { - "end": 49, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 49, + "end": 51, "start": 27, "type": "SHORT" }, @@ -3328,36 +3123,39 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 48, "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 50, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_api_async.py" + "title": "apigeeregistry_v1_generated_registry_get_api_version_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_api", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.get_api", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApi", + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApi", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteApi" + "shortName": "GetApi" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteApiRequest" + "type": "google.cloud.apigee_registry_v1.types.GetApiRequest" }, { "name": "name", @@ -3376,21 +3174,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "shortName": "delete_api" + "resultType": "google.cloud.apigee_registry_v1.types.Api", + "shortName": "get_api" }, - "description": "Sample for DeleteApi", - "file": "apigeeregistry_v1_generated_registry_delete_api_sync_8e52d6a8.py", + "description": "Sample for GetApi", + "file": "apigeeregistry_v1_generated_registry_get_api_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApi_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_GetApi_async", "segments": [ { - "end": 49, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 49, + "end": 51, "start": 27, "type": "SHORT" }, @@ -3405,15 +3204,17 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 48, "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 50, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_api_sync_8e52d6a8.py" + "title": "apigeeregistry_v1_generated_registry_get_api_async.py" }, { "canonical": true, @@ -3422,19 +3223,19 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_api", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_api", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApi", + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApi", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteApi" + "shortName": "GetApi" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteApiRequest" + "type": "google.cloud.apigee_registry_v1.types.GetApiRequest" }, { "name": "name", @@ -3453,21 +3254,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "shortName": "delete_api" + "resultType": "google.cloud.apigee_registry_v1.types.Api", + "shortName": "get_api" }, - "description": "Sample for DeleteApi", - "file": "apigeeregistry_v1_generated_registry_delete_api_sync_9a975a2a.py", + "description": "Sample for GetApi", + "file": "apigeeregistry_v1_generated_registry_get_api_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApi_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_GetApi_sync", "segments": [ { - "end": 49, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 49, + "end": 51, "start": 27, "type": "SHORT" }, @@ -3482,15 +3284,17 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 48, "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 50, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_api_sync_9a975a2a.py" + "title": "apigeeregistry_v1_generated_registry_get_api_sync.py" }, { "canonical": true, @@ -3500,19 +3304,19 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.delete_artifact", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.get_artifact_contents", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteArtifact", + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetArtifactContents", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteArtifact" + "shortName": "GetArtifactContents" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteArtifactRequest" + "type": "google.cloud.apigee_registry_v1.types.GetArtifactContentsRequest" }, { "name": "name", @@ -3531,21 +3335,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "shortName": "delete_artifact" + "resultType": "google.api.httpbody_pb2.HttpBody", + "shortName": "get_artifact_contents" }, - "description": "Sample for DeleteArtifact", - "file": "apigeeregistry_v1_generated_registry_delete_artifact_async.py", + "description": "Sample for GetArtifactContents", + "file": "apigeeregistry_v1_generated_registry_get_artifact_contents_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteArtifact_async", + "regionTag": "apigeeregistry_v1_generated_Registry_GetArtifactContents_async", "segments": [ { - "end": 49, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 49, + "end": 51, "start": 27, "type": "SHORT" }, @@ -3560,15 +3365,17 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 48, "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 50, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_artifact_async.py" + "title": "apigeeregistry_v1_generated_registry_get_artifact_contents_async.py" }, { "canonical": true, @@ -3577,19 +3384,19 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_artifact", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_artifact_contents", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteArtifact", + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetArtifactContents", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteArtifact" + "shortName": "GetArtifactContents" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteArtifactRequest" + "type": "google.cloud.apigee_registry_v1.types.GetArtifactContentsRequest" }, { "name": "name", @@ -3608,21 +3415,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "shortName": "delete_artifact" + "resultType": "google.api.httpbody_pb2.HttpBody", + "shortName": "get_artifact_contents" }, - "description": "Sample for DeleteArtifact", - "file": "apigeeregistry_v1_generated_registry_delete_artifact_sync_168c00e8.py", + "description": "Sample for GetArtifactContents", + "file": "apigeeregistry_v1_generated_registry_get_artifact_contents_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteArtifact_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_GetArtifactContents_sync", "segments": [ { - "end": 49, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 49, + "end": 51, "start": 27, "type": "SHORT" }, @@ -3637,36 +3445,39 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 48, "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 50, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_artifact_sync_168c00e8.py" + "title": "apigeeregistry_v1_generated_registry_get_artifact_contents_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.delete_artifact", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.get_artifact", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteArtifact", + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetArtifact", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "DeleteArtifact" + "shortName": "GetArtifact" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.DeleteArtifactRequest" + "type": "google.cloud.apigee_registry_v1.types.GetArtifactRequest" }, { "name": "name", @@ -3685,21 +3496,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "shortName": "delete_artifact" + "resultType": "google.cloud.apigee_registry_v1.types.Artifact", + "shortName": "get_artifact" }, - "description": "Sample for DeleteArtifact", - "file": "apigeeregistry_v1_generated_registry_delete_artifact_sync_6040b0d2.py", + "description": "Sample for GetArtifact", + "file": "apigeeregistry_v1_generated_registry_get_artifact_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteArtifact_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_GetArtifact_async", "segments": [ { - "end": 49, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 49, + "end": 51, "start": 27, "type": "SHORT" }, @@ -3714,37 +3526,38 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 48, "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 50, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_delete_artifact_sync_6040b0d2.py" + "title": "apigeeregistry_v1_generated_registry_get_artifact_async.py" }, { "canonical": true, "clientMethod": { - "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryClient", + "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.get_api_deployment", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_artifact", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiDeployment", + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetArtifact", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "GetApiDeployment" + "shortName": "GetArtifact" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetApiDeploymentRequest" + "type": "google.cloud.apigee_registry_v1.types.GetArtifactRequest" }, { "name": "name", @@ -3763,14 +3576,14 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", - "shortName": "get_api_deployment" + "resultType": "google.cloud.apigee_registry_v1.types.Artifact", + "shortName": "get_artifact" }, - "description": "Sample for GetApiDeployment", - "file": "apigeeregistry_v1_generated_registry_get_api_deployment_async.py", + "description": "Sample for GetArtifact", + "file": "apigeeregistry_v1_generated_registry_get_artifact_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetApiDeployment_async", + "regionTag": "apigeeregistry_v1_generated_Registry_GetArtifact_sync", "segments": [ { "end": 51, @@ -3803,32 +3616,29 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_get_api_deployment_async.py" + "title": "apigeeregistry_v1_generated_registry_get_artifact_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_api_deployment", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.list_api_deployment_revisions", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiDeployment", + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiDeploymentRevisions", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "GetApiDeployment" + "shortName": "ListApiDeploymentRevisions" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetApiDeploymentRequest" - }, - { - "name": "name", - "type": "str" + "type": "google.cloud.apigee_registry_v1.types.ListApiDeploymentRevisionsRequest" }, { "name": "retry", @@ -3843,22 +3653,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", - "shortName": "get_api_deployment" + "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiDeploymentRevisionsAsyncPager", + "shortName": "list_api_deployment_revisions" }, - "description": "Sample for GetApiDeployment", - "file": "apigeeregistry_v1_generated_registry_get_api_deployment_sync_5ec8f12d.py", + "description": "Sample for ListApiDeploymentRevisions", + "file": "apigeeregistry_v1_generated_registry_list_api_deployment_revisions_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetApiDeployment_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_ListApiDeploymentRevisions_async", "segments": [ { - "end": 51, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 52, "start": 27, "type": "SHORT" }, @@ -3878,12 +3688,12 @@ "type": "REQUEST_EXECUTION" }, { - "end": 52, + "end": 53, "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_get_api_deployment_sync_5ec8f12d.py" + "title": "apigeeregistry_v1_generated_registry_list_api_deployment_revisions_async.py" }, { "canonical": true, @@ -3892,23 +3702,19 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_api_deployment", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_api_deployment_revisions", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiDeployment", + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiDeploymentRevisions", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "GetApiDeployment" + "shortName": "ListApiDeploymentRevisions" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetApiDeploymentRequest" - }, - { - "name": "name", - "type": "str" + "type": "google.cloud.apigee_registry_v1.types.ListApiDeploymentRevisionsRequest" }, { "name": "retry", @@ -3923,22 +3729,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", - "shortName": "get_api_deployment" + "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiDeploymentRevisionsPager", + "shortName": "list_api_deployment_revisions" }, - "description": "Sample for GetApiDeployment", - "file": "apigeeregistry_v1_generated_registry_get_api_deployment_sync_66cd0b3b.py", + "description": "Sample for ListApiDeploymentRevisions", + "file": "apigeeregistry_v1_generated_registry_list_api_deployment_revisions_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetApiDeployment_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_ListApiDeploymentRevisions_sync", "segments": [ { - "end": 51, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 52, "start": 27, "type": "SHORT" }, @@ -3958,12 +3764,12 @@ "type": "REQUEST_EXECUTION" }, { - "end": 52, + "end": 53, "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_get_api_deployment_sync_66cd0b3b.py" + "title": "apigeeregistry_v1_generated_registry_list_api_deployment_revisions_sync.py" }, { "canonical": true, @@ -3973,22 +3779,22 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.get_api_spec_contents", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.list_api_deployments", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiSpecContents", + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiDeployments", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "GetApiSpecContents" + "shortName": "ListApiDeployments" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetApiSpecContentsRequest" + "type": "google.cloud.apigee_registry_v1.types.ListApiDeploymentsRequest" }, { - "name": "name", + "name": "parent", "type": "str" }, { @@ -4004,22 +3810,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.api.httpbody_pb2.HttpBody", - "shortName": "get_api_spec_contents" + "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiDeploymentsAsyncPager", + "shortName": "list_api_deployments" }, - "description": "Sample for GetApiSpecContents", - "file": "apigeeregistry_v1_generated_registry_get_api_spec_contents_async.py", + "description": "Sample for ListApiDeployments", + "file": "apigeeregistry_v1_generated_registry_list_api_deployments_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetApiSpecContents_async", + "regionTag": "apigeeregistry_v1_generated_Registry_ListApiDeployments_async", "segments": [ { - "end": 51, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 52, "start": 27, "type": "SHORT" }, @@ -4039,12 +3845,12 @@ "type": "REQUEST_EXECUTION" }, { - "end": 52, + "end": 53, "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_get_api_spec_contents_async.py" + "title": "apigeeregistry_v1_generated_registry_list_api_deployments_async.py" }, { "canonical": true, @@ -4053,22 +3859,22 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_api_spec_contents", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_api_deployments", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiSpecContents", + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiDeployments", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "GetApiSpecContents" + "shortName": "ListApiDeployments" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetApiSpecContentsRequest" + "type": "google.cloud.apigee_registry_v1.types.ListApiDeploymentsRequest" }, { - "name": "name", + "name": "parent", "type": "str" }, { @@ -4084,22 +3890,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.api.httpbody_pb2.HttpBody", - "shortName": "get_api_spec_contents" + "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiDeploymentsPager", + "shortName": "list_api_deployments" }, - "description": "Sample for GetApiSpecContents", - "file": "apigeeregistry_v1_generated_registry_get_api_spec_contents_sync_5d46947a.py", + "description": "Sample for ListApiDeployments", + "file": "apigeeregistry_v1_generated_registry_list_api_deployments_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetApiSpecContents_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_ListApiDeployments_sync", "segments": [ { - "end": 51, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 52, "start": 27, "type": "SHORT" }, @@ -4119,37 +3925,34 @@ "type": "REQUEST_EXECUTION" }, { - "end": 52, + "end": 53, "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_get_api_spec_contents_sync_5d46947a.py" + "title": "apigeeregistry_v1_generated_registry_list_api_deployments_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_api_spec_contents", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.list_api_spec_revisions", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiSpecContents", + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiSpecRevisions", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "GetApiSpecContents" + "shortName": "ListApiSpecRevisions" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetApiSpecContentsRequest" - }, - { - "name": "name", - "type": "str" + "type": "google.cloud.apigee_registry_v1.types.ListApiSpecRevisionsRequest" }, { "name": "retry", @@ -4164,22 +3967,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.api.httpbody_pb2.HttpBody", - "shortName": "get_api_spec_contents" + "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiSpecRevisionsAsyncPager", + "shortName": "list_api_spec_revisions" }, - "description": "Sample for GetApiSpecContents", - "file": "apigeeregistry_v1_generated_registry_get_api_spec_contents_sync_b7eb863b.py", + "description": "Sample for ListApiSpecRevisions", + "file": "apigeeregistry_v1_generated_registry_list_api_spec_revisions_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetApiSpecContents_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_ListApiSpecRevisions_async", "segments": [ { - "end": 51, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 52, "start": 27, "type": "SHORT" }, @@ -4199,38 +4002,33 @@ "type": "REQUEST_EXECUTION" }, { - "end": 52, + "end": 53, "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_get_api_spec_contents_sync_b7eb863b.py" + "title": "apigeeregistry_v1_generated_registry_list_api_spec_revisions_async.py" }, { "canonical": true, "clientMethod": { - "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryClient", + "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.get_api_spec", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_api_spec_revisions", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiSpec", + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiSpecRevisions", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "GetApiSpec" + "shortName": "ListApiSpecRevisions" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetApiSpecRequest" - }, - { - "name": "name", - "type": "str" + "type": "google.cloud.apigee_registry_v1.types.ListApiSpecRevisionsRequest" }, { "name": "retry", @@ -4245,22 +4043,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", - "shortName": "get_api_spec" + "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiSpecRevisionsPager", + "shortName": "list_api_spec_revisions" }, - "description": "Sample for GetApiSpec", - "file": "apigeeregistry_v1_generated_registry_get_api_spec_async.py", + "description": "Sample for ListApiSpecRevisions", + "file": "apigeeregistry_v1_generated_registry_list_api_spec_revisions_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetApiSpec_async", + "regionTag": "apigeeregistry_v1_generated_Registry_ListApiSpecRevisions_sync", "segments": [ { - "end": 51, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 52, "start": 27, "type": "SHORT" }, @@ -4280,36 +4078,37 @@ "type": "REQUEST_EXECUTION" }, { - "end": 52, + "end": 53, "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_get_api_spec_async.py" + "title": "apigeeregistry_v1_generated_registry_list_api_spec_revisions_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_api_spec", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.list_api_specs", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiSpec", + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiSpecs", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "GetApiSpec" + "shortName": "ListApiSpecs" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetApiSpecRequest" + "type": "google.cloud.apigee_registry_v1.types.ListApiSpecsRequest" }, { - "name": "name", + "name": "parent", "type": "str" }, { @@ -4325,22 +4124,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", - "shortName": "get_api_spec" + "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiSpecsAsyncPager", + "shortName": "list_api_specs" }, - "description": "Sample for GetApiSpec", - "file": "apigeeregistry_v1_generated_registry_get_api_spec_sync_171cad6f.py", + "description": "Sample for ListApiSpecs", + "file": "apigeeregistry_v1_generated_registry_list_api_specs_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetApiSpec_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_ListApiSpecs_async", "segments": [ { - "end": 51, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 52, "start": 27, "type": "SHORT" }, @@ -4360,12 +4159,12 @@ "type": "REQUEST_EXECUTION" }, { - "end": 52, + "end": 53, "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_get_api_spec_sync_171cad6f.py" + "title": "apigeeregistry_v1_generated_registry_list_api_specs_async.py" }, { "canonical": true, @@ -4374,22 +4173,22 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_api_spec", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_api_specs", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiSpec", + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiSpecs", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "GetApiSpec" + "shortName": "ListApiSpecs" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetApiSpecRequest" + "type": "google.cloud.apigee_registry_v1.types.ListApiSpecsRequest" }, { - "name": "name", + "name": "parent", "type": "str" }, { @@ -4405,22 +4204,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", - "shortName": "get_api_spec" + "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiSpecsPager", + "shortName": "list_api_specs" }, - "description": "Sample for GetApiSpec", - "file": "apigeeregistry_v1_generated_registry_get_api_spec_sync_ba1c8941.py", + "description": "Sample for ListApiSpecs", + "file": "apigeeregistry_v1_generated_registry_list_api_specs_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetApiSpec_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_ListApiSpecs_sync", "segments": [ { - "end": 51, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 52, "start": 27, "type": "SHORT" }, @@ -4440,12 +4239,12 @@ "type": "REQUEST_EXECUTION" }, { - "end": 52, + "end": 53, "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_get_api_spec_sync_ba1c8941.py" + "title": "apigeeregistry_v1_generated_registry_list_api_specs_sync.py" }, { "canonical": true, @@ -4455,22 +4254,22 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.get_api_version", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.list_api_versions", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiVersion", + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiVersions", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "GetApiVersion" + "shortName": "ListApiVersions" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetApiVersionRequest" + "type": "google.cloud.apigee_registry_v1.types.ListApiVersionsRequest" }, { - "name": "name", + "name": "parent", "type": "str" }, { @@ -4486,22 +4285,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiVersion", - "shortName": "get_api_version" + "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiVersionsAsyncPager", + "shortName": "list_api_versions" }, - "description": "Sample for GetApiVersion", - "file": "apigeeregistry_v1_generated_registry_get_api_version_async.py", + "description": "Sample for ListApiVersions", + "file": "apigeeregistry_v1_generated_registry_list_api_versions_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetApiVersion_async", + "regionTag": "apigeeregistry_v1_generated_Registry_ListApiVersions_async", "segments": [ { - "end": 51, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 52, "start": 27, "type": "SHORT" }, @@ -4521,12 +4320,12 @@ "type": "REQUEST_EXECUTION" }, { - "end": 52, + "end": 53, "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_get_api_version_async.py" + "title": "apigeeregistry_v1_generated_registry_list_api_versions_async.py" }, { "canonical": true, @@ -4535,22 +4334,22 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_api_version", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_api_versions", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiVersion", + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiVersions", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "GetApiVersion" + "shortName": "ListApiVersions" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetApiVersionRequest" + "type": "google.cloud.apigee_registry_v1.types.ListApiVersionsRequest" }, { - "name": "name", + "name": "parent", "type": "str" }, { @@ -4566,22 +4365,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiVersion", - "shortName": "get_api_version" + "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiVersionsPager", + "shortName": "list_api_versions" }, - "description": "Sample for GetApiVersion", - "file": "apigeeregistry_v1_generated_registry_get_api_version_sync_396c76c5.py", + "description": "Sample for ListApiVersions", + "file": "apigeeregistry_v1_generated_registry_list_api_versions_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetApiVersion_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_ListApiVersions_sync", "segments": [ { - "end": 51, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 52, "start": 27, "type": "SHORT" }, @@ -4601,117 +4400,37 @@ "type": "REQUEST_EXECUTION" }, { - "end": 52, + "end": 53, "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_get_api_version_sync_396c76c5.py" + "title": "apigeeregistry_v1_generated_registry_list_api_versions_sync.py" }, { "canonical": true, "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_api_version", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiVersion", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "GetApiVersion" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetApiVersionRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiVersion", - "shortName": "get_api_version" - }, - "description": "Sample for GetApiVersion", - "file": "apigeeregistry_v1_generated_registry_get_api_version_sync_e2ce574f.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetApiVersion_sync", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_get_api_version_sync_e2ce574f.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, + "async": true, "client": { "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.get_api", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.list_apis", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApi", + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApis", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "GetApi" + "shortName": "ListApis" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetApiRequest" + "type": "google.cloud.apigee_registry_v1.types.ListApisRequest" }, { - "name": "name", + "name": "parent", "type": "str" }, { @@ -4727,102 +4446,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.Api", - "shortName": "get_api" + "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApisAsyncPager", + "shortName": "list_apis" }, - "description": "Sample for GetApi", - "file": "apigeeregistry_v1_generated_registry_get_api_async.py", + "description": "Sample for ListApis", + "file": "apigeeregistry_v1_generated_registry_list_apis_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetApi_async", + "regionTag": "apigeeregistry_v1_generated_Registry_ListApis_async", "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, { "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_get_api_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_api", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApi", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "GetApi" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetApiRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.types.Api", - "shortName": "get_api" - }, - "description": "Sample for GetApi", - "file": "apigeeregistry_v1_generated_registry_get_api_sync_bc7358db.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetApi_sync", - "segments": [ - { - "end": 51, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 52, "start": 27, "type": "SHORT" }, @@ -4842,12 +4481,12 @@ "type": "REQUEST_EXECUTION" }, { - "end": 52, + "end": 53, "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_get_api_sync_bc7358db.py" + "title": "apigeeregistry_v1_generated_registry_list_apis_async.py" }, { "canonical": true, @@ -4856,22 +4495,22 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_api", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_apis", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApi", + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApis", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "GetApi" + "shortName": "ListApis" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetApiRequest" + "type": "google.cloud.apigee_registry_v1.types.ListApisRequest" }, { - "name": "name", + "name": "parent", "type": "str" }, { @@ -4887,22 +4526,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.Api", - "shortName": "get_api" + "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApisPager", + "shortName": "list_apis" }, - "description": "Sample for GetApi", - "file": "apigeeregistry_v1_generated_registry_get_api_sync_b7474ce3.py", + "description": "Sample for ListApis", + "file": "apigeeregistry_v1_generated_registry_list_apis_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetApi_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_ListApis_sync", "segments": [ { - "end": 51, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 52, "start": 27, "type": "SHORT" }, @@ -4922,12 +4561,12 @@ "type": "REQUEST_EXECUTION" }, { - "end": 52, + "end": 53, "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_get_api_sync_b7474ce3.py" + "title": "apigeeregistry_v1_generated_registry_list_apis_sync.py" }, { "canonical": true, @@ -4937,2710 +4576,23 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.get_artifact_contents", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.list_artifacts", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetArtifactContents", + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListArtifacts", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "GetArtifactContents" + "shortName": "ListArtifacts" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetArtifactContentsRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" + "type": "google.cloud.apigee_registry_v1.types.ListArtifactsRequest" }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.api.httpbody_pb2.HttpBody", - "shortName": "get_artifact_contents" - }, - "description": "Sample for GetArtifactContents", - "file": "apigeeregistry_v1_generated_registry_get_artifact_contents_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetArtifactContents_async", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_get_artifact_contents_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_artifact_contents", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetArtifactContents", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "GetArtifactContents" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetArtifactContentsRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.api.httpbody_pb2.HttpBody", - "shortName": "get_artifact_contents" - }, - "description": "Sample for GetArtifactContents", - "file": "apigeeregistry_v1_generated_registry_get_artifact_contents_sync_360dea88.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetArtifactContents_sync", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_get_artifact_contents_sync_360dea88.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_artifact_contents", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetArtifactContents", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "GetArtifactContents" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetArtifactContentsRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.api.httpbody_pb2.HttpBody", - "shortName": "get_artifact_contents" - }, - "description": "Sample for GetArtifactContents", - "file": "apigeeregistry_v1_generated_registry_get_artifact_contents_sync_cf55f89d.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetArtifactContents_sync", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_get_artifact_contents_sync_cf55f89d.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.get_artifact", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetArtifact", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "GetArtifact" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetArtifactRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.types.Artifact", - "shortName": "get_artifact" - }, - "description": "Sample for GetArtifact", - "file": "apigeeregistry_v1_generated_registry_get_artifact_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetArtifact_async", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_get_artifact_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_artifact", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetArtifact", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "GetArtifact" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetArtifactRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.types.Artifact", - "shortName": "get_artifact" - }, - "description": "Sample for GetArtifact", - "file": "apigeeregistry_v1_generated_registry_get_artifact_sync_d59167c3.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetArtifact_sync", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_get_artifact_sync_d59167c3.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.get_artifact", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetArtifact", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "GetArtifact" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.GetArtifactRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.types.Artifact", - "shortName": "get_artifact" - }, - "description": "Sample for GetArtifact", - "file": "apigeeregistry_v1_generated_registry_get_artifact_sync_01903acd.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_GetArtifact_sync", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_get_artifact_sync_01903acd.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.list_api_deployment_revisions", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiDeploymentRevisions", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListApiDeploymentRevisions" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListApiDeploymentRevisionsRequest" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiDeploymentRevisionsAsyncPager", - "shortName": "list_api_deployment_revisions" - }, - "description": "Sample for ListApiDeploymentRevisions", - "file": "apigeeregistry_v1_generated_registry_list_api_deployment_revisions_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiDeploymentRevisions_async", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_api_deployment_revisions_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_api_deployment_revisions", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiDeploymentRevisions", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListApiDeploymentRevisions" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListApiDeploymentRevisionsRequest" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiDeploymentRevisionsPager", - "shortName": "list_api_deployment_revisions" - }, - "description": "Sample for ListApiDeploymentRevisions", - "file": "apigeeregistry_v1_generated_registry_list_api_deployment_revisions_sync_8cccd09c.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiDeploymentRevisions_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_api_deployment_revisions_sync_8cccd09c.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_api_deployment_revisions", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiDeploymentRevisions", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListApiDeploymentRevisions" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListApiDeploymentRevisionsRequest" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiDeploymentRevisionsPager", - "shortName": "list_api_deployment_revisions" - }, - "description": "Sample for ListApiDeploymentRevisions", - "file": "apigeeregistry_v1_generated_registry_list_api_deployment_revisions_sync_64bfc8ef.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiDeploymentRevisions_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_api_deployment_revisions_sync_64bfc8ef.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.list_api_deployments", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiDeployments", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListApiDeployments" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListApiDeploymentsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiDeploymentsAsyncPager", - "shortName": "list_api_deployments" - }, - "description": "Sample for ListApiDeployments", - "file": "apigeeregistry_v1_generated_registry_list_api_deployments_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiDeployments_async", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_api_deployments_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_api_deployments", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiDeployments", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListApiDeployments" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListApiDeploymentsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiDeploymentsPager", - "shortName": "list_api_deployments" - }, - "description": "Sample for ListApiDeployments", - "file": "apigeeregistry_v1_generated_registry_list_api_deployments_sync_6c6142af.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiDeployments_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_api_deployments_sync_6c6142af.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_api_deployments", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiDeployments", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListApiDeployments" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListApiDeploymentsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiDeploymentsPager", - "shortName": "list_api_deployments" - }, - "description": "Sample for ListApiDeployments", - "file": "apigeeregistry_v1_generated_registry_list_api_deployments_sync_ff8eaca4.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiDeployments_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_api_deployments_sync_ff8eaca4.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.list_api_spec_revisions", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiSpecRevisions", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListApiSpecRevisions" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListApiSpecRevisionsRequest" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiSpecRevisionsAsyncPager", - "shortName": "list_api_spec_revisions" - }, - "description": "Sample for ListApiSpecRevisions", - "file": "apigeeregistry_v1_generated_registry_list_api_spec_revisions_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiSpecRevisions_async", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_api_spec_revisions_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_api_spec_revisions", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiSpecRevisions", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListApiSpecRevisions" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListApiSpecRevisionsRequest" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiSpecRevisionsPager", - "shortName": "list_api_spec_revisions" - }, - "description": "Sample for ListApiSpecRevisions", - "file": "apigeeregistry_v1_generated_registry_list_api_spec_revisions_sync_88824047.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiSpecRevisions_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_api_spec_revisions_sync_88824047.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_api_spec_revisions", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiSpecRevisions", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListApiSpecRevisions" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListApiSpecRevisionsRequest" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiSpecRevisionsPager", - "shortName": "list_api_spec_revisions" - }, - "description": "Sample for ListApiSpecRevisions", - "file": "apigeeregistry_v1_generated_registry_list_api_spec_revisions_sync_a18db05b.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiSpecRevisions_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_api_spec_revisions_sync_a18db05b.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.list_api_specs", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiSpecs", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListApiSpecs" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListApiSpecsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiSpecsAsyncPager", - "shortName": "list_api_specs" - }, - "description": "Sample for ListApiSpecs", - "file": "apigeeregistry_v1_generated_registry_list_api_specs_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiSpecs_async", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_api_specs_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_api_specs", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiSpecs", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListApiSpecs" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListApiSpecsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiSpecsPager", - "shortName": "list_api_specs" - }, - "description": "Sample for ListApiSpecs", - "file": "apigeeregistry_v1_generated_registry_list_api_specs_sync_e8873dfe.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiSpecs_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_api_specs_sync_e8873dfe.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_api_specs", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiSpecs", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListApiSpecs" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListApiSpecsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiSpecsPager", - "shortName": "list_api_specs" - }, - "description": "Sample for ListApiSpecs", - "file": "apigeeregistry_v1_generated_registry_list_api_specs_sync_39e8acac.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiSpecs_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_api_specs_sync_39e8acac.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.list_api_versions", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiVersions", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListApiVersions" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListApiVersionsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiVersionsAsyncPager", - "shortName": "list_api_versions" - }, - "description": "Sample for ListApiVersions", - "file": "apigeeregistry_v1_generated_registry_list_api_versions_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiVersions_async", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_api_versions_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_api_versions", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiVersions", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListApiVersions" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListApiVersionsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiVersionsPager", - "shortName": "list_api_versions" - }, - "description": "Sample for ListApiVersions", - "file": "apigeeregistry_v1_generated_registry_list_api_versions_sync_8f9fa9ae.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiVersions_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_api_versions_sync_8f9fa9ae.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_api_versions", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiVersions", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListApiVersions" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListApiVersionsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApiVersionsPager", - "shortName": "list_api_versions" - }, - "description": "Sample for ListApiVersions", - "file": "apigeeregistry_v1_generated_registry_list_api_versions_sync_6a0f8cf5.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiVersions_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_api_versions_sync_6a0f8cf5.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.list_apis", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApis", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListApis" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListApisRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApisAsyncPager", - "shortName": "list_apis" - }, - "description": "Sample for ListApis", - "file": "apigeeregistry_v1_generated_registry_list_apis_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListApis_async", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_apis_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_apis", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApis", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListApis" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListApisRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApisPager", - "shortName": "list_apis" - }, - "description": "Sample for ListApis", - "file": "apigeeregistry_v1_generated_registry_list_apis_sync_ea1d3b9f.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListApis_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_apis_sync_ea1d3b9f.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_apis", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApis", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListApis" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListApisRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListApisPager", - "shortName": "list_apis" - }, - "description": "Sample for ListApis", - "file": "apigeeregistry_v1_generated_registry_list_apis_sync_f3bb4616.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListApis_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_apis_sync_f3bb4616.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.list_artifacts", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListArtifacts", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListArtifacts" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListArtifactsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListArtifactsAsyncPager", - "shortName": "list_artifacts" - }, - "description": "Sample for ListArtifacts", - "file": "apigeeregistry_v1_generated_registry_list_artifacts_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListArtifacts_async", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_artifacts_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_artifacts", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListArtifacts", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListArtifacts" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListArtifactsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListArtifactsPager", - "shortName": "list_artifacts" - }, - "description": "Sample for ListArtifacts", - "file": "apigeeregistry_v1_generated_registry_list_artifacts_sync_91f547f9.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListArtifacts_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_artifacts_sync_91f547f9.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_artifacts", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListArtifacts", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ListArtifacts" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ListArtifactsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListArtifactsPager", - "shortName": "list_artifacts" - }, - "description": "Sample for ListArtifacts", - "file": "apigeeregistry_v1_generated_registry_list_artifacts_sync_9a6d51c6.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ListArtifacts_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_list_artifacts_sync_9a6d51c6.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.replace_artifact", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ReplaceArtifact", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ReplaceArtifact" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ReplaceArtifactRequest" - }, - { - "name": "artifact", - "type": "google.cloud.apigee_registry_v1.types.Artifact" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.types.Artifact", - "shortName": "replace_artifact" - }, - "description": "Sample for ReplaceArtifact", - "file": "apigeeregistry_v1_generated_registry_replace_artifact_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ReplaceArtifact_async", - "segments": [ - { - "end": 50, - "start": 27, - "type": "FULL" - }, - { - "end": 50, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 44, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 47, - "start": 45, - "type": "REQUEST_EXECUTION" - }, - { - "end": 51, - "start": 48, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_replace_artifact_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.replace_artifact", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ReplaceArtifact", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ReplaceArtifact" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ReplaceArtifactRequest" - }, - { - "name": "artifact", - "type": "google.cloud.apigee_registry_v1.types.Artifact" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.types.Artifact", - "shortName": "replace_artifact" - }, - "description": "Sample for ReplaceArtifact", - "file": "apigeeregistry_v1_generated_registry_replace_artifact_sync_e3f2bedb.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ReplaceArtifact_sync", - "segments": [ - { - "end": 50, - "start": 27, - "type": "FULL" - }, - { - "end": 50, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 44, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 47, - "start": 45, - "type": "REQUEST_EXECUTION" - }, - { - "end": 51, - "start": 48, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_replace_artifact_sync_e3f2bedb.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.replace_artifact", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.ReplaceArtifact", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "ReplaceArtifact" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.ReplaceArtifactRequest" - }, - { - "name": "artifact", - "type": "google.cloud.apigee_registry_v1.types.Artifact" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.types.Artifact", - "shortName": "replace_artifact" - }, - "description": "Sample for ReplaceArtifact", - "file": "apigeeregistry_v1_generated_registry_replace_artifact_sync_a507619e.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_ReplaceArtifact_sync", - "segments": [ - { - "end": 50, - "start": 27, - "type": "FULL" - }, - { - "end": 50, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 44, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 47, - "start": 45, - "type": "REQUEST_EXECUTION" - }, - { - "end": 51, - "start": 48, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_replace_artifact_sync_a507619e.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.rollback_api_deployment", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.RollbackApiDeployment", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "RollbackApiDeployment" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.RollbackApiDeploymentRequest" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", - "shortName": "rollback_api_deployment" - }, - "description": "Sample for RollbackApiDeployment", - "file": "apigeeregistry_v1_generated_registry_rollback_api_deployment_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_RollbackApiDeployment_async", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 46, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 49, - "start": 47, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 50, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_rollback_api_deployment_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.rollback_api_deployment", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.RollbackApiDeployment", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "RollbackApiDeployment" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.RollbackApiDeploymentRequest" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", - "shortName": "rollback_api_deployment" - }, - "description": "Sample for RollbackApiDeployment", - "file": "apigeeregistry_v1_generated_registry_rollback_api_deployment_sync_947d4cf2.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_RollbackApiDeployment_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 46, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 49, - "start": 47, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 50, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_rollback_api_deployment_sync_947d4cf2.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.rollback_api_deployment", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.RollbackApiDeployment", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "RollbackApiDeployment" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.RollbackApiDeploymentRequest" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", - "shortName": "rollback_api_deployment" - }, - "description": "Sample for RollbackApiDeployment", - "file": "apigeeregistry_v1_generated_registry_rollback_api_deployment_sync_d5d9719b.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_RollbackApiDeployment_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 46, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 49, - "start": 47, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 50, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_rollback_api_deployment_sync_d5d9719b.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.rollback_api_spec", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.RollbackApiSpec", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "RollbackApiSpec" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.RollbackApiSpecRequest" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", - "shortName": "rollback_api_spec" - }, - "description": "Sample for RollbackApiSpec", - "file": "apigeeregistry_v1_generated_registry_rollback_api_spec_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_RollbackApiSpec_async", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 46, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 49, - "start": 47, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 50, - "type": "RESPONSE_HANDLING" - } - ], - "title": "apigeeregistry_v1_generated_registry_rollback_api_spec_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" - }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.rollback_api_spec", - "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.RollbackApiSpec", - "service": { - "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "RollbackApiSpec" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.RollbackApiSpecRequest" + { + "name": "parent", + "type": "str" }, { "name": "retry", @@ -7655,14 +4607,14 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", - "shortName": "rollback_api_spec" + "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListArtifactsAsyncPager", + "shortName": "list_artifacts" }, - "description": "Sample for RollbackApiSpec", - "file": "apigeeregistry_v1_generated_registry_rollback_api_spec_sync_c6c8d091.py", + "description": "Sample for ListArtifacts", + "file": "apigeeregistry_v1_generated_registry_list_artifacts_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_RollbackApiSpec_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_ListArtifacts_async", "segments": [ { "end": 52, @@ -7680,22 +4632,22 @@ "type": "CLIENT_INITIALIZATION" }, { - "end": 46, + "end": 45, "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 49, - "start": 47, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { "end": 53, - "start": 50, + "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_rollback_api_spec_sync_c6c8d091.py" + "title": "apigeeregistry_v1_generated_registry_list_artifacts_async.py" }, { "canonical": true, @@ -7704,19 +4656,23 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.rollback_api_spec", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.list_artifacts", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.RollbackApiSpec", + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListArtifacts", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "RollbackApiSpec" + "shortName": "ListArtifacts" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.RollbackApiSpecRequest" + "type": "google.cloud.apigee_registry_v1.types.ListArtifactsRequest" + }, + { + "name": "parent", + "type": "str" }, { "name": "retry", @@ -7731,14 +4687,14 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", - "shortName": "rollback_api_spec" + "resultType": "google.cloud.apigee_registry_v1.services.registry.pagers.ListArtifactsPager", + "shortName": "list_artifacts" }, - "description": "Sample for RollbackApiSpec", - "file": "apigeeregistry_v1_generated_registry_rollback_api_spec_sync_9eeca7ec.py", + "description": "Sample for ListArtifacts", + "file": "apigeeregistry_v1_generated_registry_list_artifacts_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_RollbackApiSpec_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_ListArtifacts_sync", "segments": [ { "end": 52, @@ -7756,22 +4712,22 @@ "type": "CLIENT_INITIALIZATION" }, { - "end": 46, + "end": 45, "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 49, - "start": 47, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { "end": 53, - "start": 50, + "start": 49, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_rollback_api_spec_sync_9eeca7ec.py" + "title": "apigeeregistry_v1_generated_registry_list_artifacts_sync.py" }, { "canonical": true, @@ -7781,19 +4737,23 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.tag_api_deployment_revision", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.replace_artifact", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.TagApiDeploymentRevision", + "fullName": "google.cloud.apigeeregistry.v1.Registry.ReplaceArtifact", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "TagApiDeploymentRevision" + "shortName": "ReplaceArtifact" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.TagApiDeploymentRevisionRequest" + "type": "google.cloud.apigee_registry_v1.types.ReplaceArtifactRequest" + }, + { + "name": "artifact", + "type": "google.cloud.apigee_registry_v1.types.Artifact" }, { "name": "retry", @@ -7808,22 +4768,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", - "shortName": "tag_api_deployment_revision" + "resultType": "google.cloud.apigee_registry_v1.types.Artifact", + "shortName": "replace_artifact" }, - "description": "Sample for TagApiDeploymentRevision", - "file": "apigeeregistry_v1_generated_registry_tag_api_deployment_revision_async.py", + "description": "Sample for ReplaceArtifact", + "file": "apigeeregistry_v1_generated_registry_replace_artifact_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_TagApiDeploymentRevision_async", + "regionTag": "apigeeregistry_v1_generated_Registry_ReplaceArtifact_async", "segments": [ { - "end": 52, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 52, + "end": 50, "start": 27, "type": "SHORT" }, @@ -7833,22 +4793,22 @@ "type": "CLIENT_INITIALIZATION" }, { - "end": 46, + "end": 44, "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 49, - "start": 47, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 53, - "start": 50, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_tag_api_deployment_revision_async.py" + "title": "apigeeregistry_v1_generated_registry_replace_artifact_async.py" }, { "canonical": true, @@ -7857,19 +4817,23 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.tag_api_deployment_revision", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.replace_artifact", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.TagApiDeploymentRevision", + "fullName": "google.cloud.apigeeregistry.v1.Registry.ReplaceArtifact", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "TagApiDeploymentRevision" + "shortName": "ReplaceArtifact" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.TagApiDeploymentRevisionRequest" + "type": "google.cloud.apigee_registry_v1.types.ReplaceArtifactRequest" + }, + { + "name": "artifact", + "type": "google.cloud.apigee_registry_v1.types.Artifact" }, { "name": "retry", @@ -7884,22 +4848,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", - "shortName": "tag_api_deployment_revision" + "resultType": "google.cloud.apigee_registry_v1.types.Artifact", + "shortName": "replace_artifact" }, - "description": "Sample for TagApiDeploymentRevision", - "file": "apigeeregistry_v1_generated_registry_tag_api_deployment_revision_sync_d989b918.py", + "description": "Sample for ReplaceArtifact", + "file": "apigeeregistry_v1_generated_registry_replace_artifact_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_TagApiDeploymentRevision_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_ReplaceArtifact_sync", "segments": [ { - "end": 52, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 52, + "end": 50, "start": 27, "type": "SHORT" }, @@ -7909,43 +4873,44 @@ "type": "CLIENT_INITIALIZATION" }, { - "end": 46, + "end": 44, "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 49, - "start": 47, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 53, - "start": 50, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_tag_api_deployment_revision_sync_d989b918.py" + "title": "apigeeregistry_v1_generated_registry_replace_artifact_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.tag_api_deployment_revision", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.rollback_api_deployment", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.TagApiDeploymentRevision", + "fullName": "google.cloud.apigeeregistry.v1.Registry.RollbackApiDeployment", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "TagApiDeploymentRevision" + "shortName": "RollbackApiDeployment" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.TagApiDeploymentRevisionRequest" + "type": "google.cloud.apigee_registry_v1.types.RollbackApiDeploymentRequest" }, { "name": "retry", @@ -7961,13 +4926,13 @@ } ], "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", - "shortName": "tag_api_deployment_revision" + "shortName": "rollback_api_deployment" }, - "description": "Sample for TagApiDeploymentRevision", - "file": "apigeeregistry_v1_generated_registry_tag_api_deployment_revision_sync_174bf899.py", + "description": "Sample for RollbackApiDeployment", + "file": "apigeeregistry_v1_generated_registry_rollback_api_deployment_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_TagApiDeploymentRevision_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_RollbackApiDeployment_async", "segments": [ { "end": 52, @@ -8000,29 +4965,28 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_tag_api_deployment_revision_sync_174bf899.py" + "title": "apigeeregistry_v1_generated_registry_rollback_api_deployment_async.py" }, { "canonical": true, "clientMethod": { - "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryClient", + "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.tag_api_spec_revision", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.rollback_api_deployment", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.TagApiSpecRevision", + "fullName": "google.cloud.apigeeregistry.v1.Registry.RollbackApiDeployment", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "TagApiSpecRevision" + "shortName": "RollbackApiDeployment" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.TagApiSpecRevisionRequest" + "type": "google.cloud.apigee_registry_v1.types.RollbackApiDeploymentRequest" }, { "name": "retry", @@ -8037,14 +5001,14 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", - "shortName": "tag_api_spec_revision" + "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", + "shortName": "rollback_api_deployment" }, - "description": "Sample for TagApiSpecRevision", - "file": "apigeeregistry_v1_generated_registry_tag_api_spec_revision_async.py", + "description": "Sample for RollbackApiDeployment", + "file": "apigeeregistry_v1_generated_registry_rollback_api_deployment_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_TagApiSpecRevision_async", + "regionTag": "apigeeregistry_v1_generated_Registry_RollbackApiDeployment_sync", "segments": [ { "end": 52, @@ -8077,28 +5041,29 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_tag_api_spec_revision_async.py" + "title": "apigeeregistry_v1_generated_registry_rollback_api_deployment_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.tag_api_spec_revision", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.rollback_api_spec", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.TagApiSpecRevision", + "fullName": "google.cloud.apigeeregistry.v1.Registry.RollbackApiSpec", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "TagApiSpecRevision" + "shortName": "RollbackApiSpec" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.TagApiSpecRevisionRequest" + "type": "google.cloud.apigee_registry_v1.types.RollbackApiSpecRequest" }, { "name": "retry", @@ -8114,13 +5079,13 @@ } ], "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", - "shortName": "tag_api_spec_revision" + "shortName": "rollback_api_spec" }, - "description": "Sample for TagApiSpecRevision", - "file": "apigeeregistry_v1_generated_registry_tag_api_spec_revision_sync_ffcb0393.py", + "description": "Sample for RollbackApiSpec", + "file": "apigeeregistry_v1_generated_registry_rollback_api_spec_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_TagApiSpecRevision_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_RollbackApiSpec_async", "segments": [ { "end": 52, @@ -8153,7 +5118,7 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_tag_api_spec_revision_sync_ffcb0393.py" + "title": "apigeeregistry_v1_generated_registry_rollback_api_spec_async.py" }, { "canonical": true, @@ -8162,19 +5127,19 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.tag_api_spec_revision", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.rollback_api_spec", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.TagApiSpecRevision", + "fullName": "google.cloud.apigeeregistry.v1.Registry.RollbackApiSpec", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "TagApiSpecRevision" + "shortName": "RollbackApiSpec" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.TagApiSpecRevisionRequest" + "type": "google.cloud.apigee_registry_v1.types.RollbackApiSpecRequest" }, { "name": "retry", @@ -8190,13 +5155,13 @@ } ], "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", - "shortName": "tag_api_spec_revision" + "shortName": "rollback_api_spec" }, - "description": "Sample for TagApiSpecRevision", - "file": "apigeeregistry_v1_generated_registry_tag_api_spec_revision_sync_a6fdf1e7.py", + "description": "Sample for RollbackApiSpec", + "file": "apigeeregistry_v1_generated_registry_rollback_api_spec_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_TagApiSpecRevision_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_RollbackApiSpec_sync", "segments": [ { "end": 52, @@ -8229,7 +5194,7 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_tag_api_spec_revision_sync_a6fdf1e7.py" + "title": "apigeeregistry_v1_generated_registry_rollback_api_spec_sync.py" }, { "canonical": true, @@ -8239,27 +5204,19 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.update_api_deployment", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.tag_api_deployment_revision", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiDeployment", + "fullName": "google.cloud.apigeeregistry.v1.Registry.TagApiDeploymentRevision", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "UpdateApiDeployment" + "shortName": "TagApiDeploymentRevision" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.UpdateApiDeploymentRequest" - }, - { - "name": "api_deployment", - "type": "google.cloud.apigee_registry_v1.types.ApiDeployment" - }, - { - "name": "update_mask", - "type": "google.protobuf.field_mask_pb2.FieldMask" + "type": "google.cloud.apigee_registry_v1.types.TagApiDeploymentRevisionRequest" }, { "name": "retry", @@ -8275,21 +5232,21 @@ } ], "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", - "shortName": "update_api_deployment" + "shortName": "tag_api_deployment_revision" }, - "description": "Sample for UpdateApiDeployment", - "file": "apigeeregistry_v1_generated_registry_update_api_deployment_async.py", + "description": "Sample for TagApiDeploymentRevision", + "file": "apigeeregistry_v1_generated_registry_tag_api_deployment_revision_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiDeployment_async", + "regionTag": "apigeeregistry_v1_generated_Registry_TagApiDeploymentRevision_async", "segments": [ { - "end": 50, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 50, + "end": 52, "start": 27, "type": "SHORT" }, @@ -8299,22 +5256,22 @@ "type": "CLIENT_INITIALIZATION" }, { - "end": 44, + "end": 46, "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 47, - "start": 45, + "end": 49, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 51, - "start": 48, + "end": 53, + "start": 50, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_update_api_deployment_async.py" + "title": "apigeeregistry_v1_generated_registry_tag_api_deployment_revision_async.py" }, { "canonical": true, @@ -8323,27 +5280,19 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.update_api_deployment", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.tag_api_deployment_revision", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiDeployment", + "fullName": "google.cloud.apigeeregistry.v1.Registry.TagApiDeploymentRevision", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", - "shortName": "Registry" - }, - "shortName": "UpdateApiDeployment" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.apigee_registry_v1.types.UpdateApiDeploymentRequest" - }, - { - "name": "api_deployment", - "type": "google.cloud.apigee_registry_v1.types.ApiDeployment" + "shortName": "Registry" }, + "shortName": "TagApiDeploymentRevision" + }, + "parameters": [ { - "name": "update_mask", - "type": "google.protobuf.field_mask_pb2.FieldMask" + "name": "request", + "type": "google.cloud.apigee_registry_v1.types.TagApiDeploymentRevisionRequest" }, { "name": "retry", @@ -8359,21 +5308,21 @@ } ], "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", - "shortName": "update_api_deployment" + "shortName": "tag_api_deployment_revision" }, - "description": "Sample for UpdateApiDeployment", - "file": "apigeeregistry_v1_generated_registry_update_api_deployment_sync_7711f86e.py", + "description": "Sample for TagApiDeploymentRevision", + "file": "apigeeregistry_v1_generated_registry_tag_api_deployment_revision_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiDeployment_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_TagApiDeploymentRevision_sync", "segments": [ { - "end": 50, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 50, + "end": 52, "start": 27, "type": "SHORT" }, @@ -8383,51 +5332,44 @@ "type": "CLIENT_INITIALIZATION" }, { - "end": 44, + "end": 46, "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 47, - "start": 45, + "end": 49, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 51, - "start": 48, + "end": 53, + "start": 50, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_update_api_deployment_sync_7711f86e.py" + "title": "apigeeregistry_v1_generated_registry_tag_api_deployment_revision_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.update_api_deployment", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.tag_api_spec_revision", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiDeployment", + "fullName": "google.cloud.apigeeregistry.v1.Registry.TagApiSpecRevision", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "UpdateApiDeployment" + "shortName": "TagApiSpecRevision" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.UpdateApiDeploymentRequest" - }, - { - "name": "api_deployment", - "type": "google.cloud.apigee_registry_v1.types.ApiDeployment" - }, - { - "name": "update_mask", - "type": "google.protobuf.field_mask_pb2.FieldMask" + "type": "google.cloud.apigee_registry_v1.types.TagApiSpecRevisionRequest" }, { "name": "retry", @@ -8442,22 +5384,22 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", - "shortName": "update_api_deployment" + "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", + "shortName": "tag_api_spec_revision" }, - "description": "Sample for UpdateApiDeployment", - "file": "apigeeregistry_v1_generated_registry_update_api_deployment_sync_ef7fd49e.py", + "description": "Sample for TagApiSpecRevision", + "file": "apigeeregistry_v1_generated_registry_tag_api_spec_revision_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiDeployment_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_TagApiSpecRevision_async", "segments": [ { - "end": 50, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 50, + "end": 52, "start": 27, "type": "SHORT" }, @@ -8467,52 +5409,43 @@ "type": "CLIENT_INITIALIZATION" }, { - "end": 44, + "end": 46, "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 47, - "start": 45, + "end": 49, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 51, - "start": 48, + "end": 53, + "start": 50, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_update_api_deployment_sync_ef7fd49e.py" + "title": "apigeeregistry_v1_generated_registry_tag_api_spec_revision_async.py" }, { "canonical": true, "clientMethod": { - "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryClient", + "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.update_api_spec", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.tag_api_spec_revision", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiSpec", + "fullName": "google.cloud.apigeeregistry.v1.Registry.TagApiSpecRevision", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "UpdateApiSpec" + "shortName": "TagApiSpecRevision" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.UpdateApiSpecRequest" - }, - { - "name": "api_spec", - "type": "google.cloud.apigee_registry_v1.types.ApiSpec" - }, - { - "name": "update_mask", - "type": "google.protobuf.field_mask_pb2.FieldMask" + "type": "google.cloud.apigee_registry_v1.types.TagApiSpecRevisionRequest" }, { "name": "retry", @@ -8528,21 +5461,21 @@ } ], "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", - "shortName": "update_api_spec" + "shortName": "tag_api_spec_revision" }, - "description": "Sample for UpdateApiSpec", - "file": "apigeeregistry_v1_generated_registry_update_api_spec_async.py", + "description": "Sample for TagApiSpecRevision", + "file": "apigeeregistry_v1_generated_registry_tag_api_spec_revision_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiSpec_async", + "regionTag": "apigeeregistry_v1_generated_Registry_TagApiSpecRevision_sync", "segments": [ { - "end": 50, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 50, + "end": 52, "start": 27, "type": "SHORT" }, @@ -8552,47 +5485,48 @@ "type": "CLIENT_INITIALIZATION" }, { - "end": 44, + "end": 46, "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 47, - "start": 45, + "end": 49, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 51, - "start": 48, + "end": 53, + "start": 50, "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_update_api_spec_async.py" + "title": "apigeeregistry_v1_generated_registry_tag_api_spec_revision_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.update_api_spec", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.update_api_deployment", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiSpec", + "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiDeployment", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "UpdateApiSpec" + "shortName": "UpdateApiDeployment" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.UpdateApiSpecRequest" + "type": "google.cloud.apigee_registry_v1.types.UpdateApiDeploymentRequest" }, { - "name": "api_spec", - "type": "google.cloud.apigee_registry_v1.types.ApiSpec" + "name": "api_deployment", + "type": "google.cloud.apigee_registry_v1.types.ApiDeployment" }, { "name": "update_mask", @@ -8611,14 +5545,14 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", - "shortName": "update_api_spec" + "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", + "shortName": "update_api_deployment" }, - "description": "Sample for UpdateApiSpec", - "file": "apigeeregistry_v1_generated_registry_update_api_spec_sync_33f2f0c7.py", + "description": "Sample for UpdateApiDeployment", + "file": "apigeeregistry_v1_generated_registry_update_api_deployment_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiSpec_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiDeployment_async", "segments": [ { "end": 50, @@ -8651,7 +5585,7 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_update_api_spec_sync_33f2f0c7.py" + "title": "apigeeregistry_v1_generated_registry_update_api_deployment_async.py" }, { "canonical": true, @@ -8660,23 +5594,23 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.update_api_spec", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.update_api_deployment", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiSpec", + "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiDeployment", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "UpdateApiSpec" + "shortName": "UpdateApiDeployment" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.UpdateApiSpecRequest" + "type": "google.cloud.apigee_registry_v1.types.UpdateApiDeploymentRequest" }, { - "name": "api_spec", - "type": "google.cloud.apigee_registry_v1.types.ApiSpec" + "name": "api_deployment", + "type": "google.cloud.apigee_registry_v1.types.ApiDeployment" }, { "name": "update_mask", @@ -8695,14 +5629,14 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", - "shortName": "update_api_spec" + "resultType": "google.cloud.apigee_registry_v1.types.ApiDeployment", + "shortName": "update_api_deployment" }, - "description": "Sample for UpdateApiSpec", - "file": "apigeeregistry_v1_generated_registry_update_api_spec_sync_56582d58.py", + "description": "Sample for UpdateApiDeployment", + "file": "apigeeregistry_v1_generated_registry_update_api_deployment_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiSpec_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiDeployment_sync", "segments": [ { "end": 50, @@ -8735,7 +5669,7 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_update_api_spec_sync_56582d58.py" + "title": "apigeeregistry_v1_generated_registry_update_api_deployment_sync.py" }, { "canonical": true, @@ -8745,23 +5679,23 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.update_api_version", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.update_api_spec", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiVersion", + "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiSpec", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "UpdateApiVersion" + "shortName": "UpdateApiSpec" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.UpdateApiVersionRequest" + "type": "google.cloud.apigee_registry_v1.types.UpdateApiSpecRequest" }, { - "name": "api_version", - "type": "google.cloud.apigee_registry_v1.types.ApiVersion" + "name": "api_spec", + "type": "google.cloud.apigee_registry_v1.types.ApiSpec" }, { "name": "update_mask", @@ -8780,14 +5714,14 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiVersion", - "shortName": "update_api_version" + "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", + "shortName": "update_api_spec" }, - "description": "Sample for UpdateApiVersion", - "file": "apigeeregistry_v1_generated_registry_update_api_version_async.py", + "description": "Sample for UpdateApiSpec", + "file": "apigeeregistry_v1_generated_registry_update_api_spec_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiVersion_async", + "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiSpec_async", "segments": [ { "end": 50, @@ -8820,7 +5754,7 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_update_api_version_async.py" + "title": "apigeeregistry_v1_generated_registry_update_api_spec_async.py" }, { "canonical": true, @@ -8829,23 +5763,23 @@ "fullName": "google.cloud.apigee_registry_v1.RegistryClient", "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.update_api_version", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.update_api_spec", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiVersion", + "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiSpec", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "UpdateApiVersion" + "shortName": "UpdateApiSpec" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.UpdateApiVersionRequest" + "type": "google.cloud.apigee_registry_v1.types.UpdateApiSpecRequest" }, { - "name": "api_version", - "type": "google.cloud.apigee_registry_v1.types.ApiVersion" + "name": "api_spec", + "type": "google.cloud.apigee_registry_v1.types.ApiSpec" }, { "name": "update_mask", @@ -8864,14 +5798,14 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.ApiVersion", - "shortName": "update_api_version" + "resultType": "google.cloud.apigee_registry_v1.types.ApiSpec", + "shortName": "update_api_spec" }, - "description": "Sample for UpdateApiVersion", - "file": "apigeeregistry_v1_generated_registry_update_api_version_sync_41a2051d.py", + "description": "Sample for UpdateApiSpec", + "file": "apigeeregistry_v1_generated_registry_update_api_spec_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiVersion_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiSpec_sync", "segments": [ { "end": 50, @@ -8904,16 +5838,17 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_update_api_version_sync_41a2051d.py" + "title": "apigeeregistry_v1_generated_registry_update_api_spec_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.update_api_version", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.update_api_version", "method": { "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiVersion", "service": { @@ -8952,10 +5887,10 @@ "shortName": "update_api_version" }, "description": "Sample for UpdateApiVersion", - "file": "apigeeregistry_v1_generated_registry_update_api_version_sync_73ec8ff9.py", + "file": "apigeeregistry_v1_generated_registry_update_api_version_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiVersion_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiVersion_async", "segments": [ { "end": 50, @@ -8988,33 +5923,32 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_update_api_version_sync_73ec8ff9.py" + "title": "apigeeregistry_v1_generated_registry_update_api_version_async.py" }, { "canonical": true, "clientMethod": { - "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", - "shortName": "RegistryAsyncClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryClient", + "shortName": "RegistryClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.update_api", + "fullName": "google.cloud.apigee_registry_v1.RegistryClient.update_api_version", "method": { - "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApi", + "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiVersion", "service": { "fullName": "google.cloud.apigeeregistry.v1.Registry", "shortName": "Registry" }, - "shortName": "UpdateApi" + "shortName": "UpdateApiVersion" }, "parameters": [ { "name": "request", - "type": "google.cloud.apigee_registry_v1.types.UpdateApiRequest" + "type": "google.cloud.apigee_registry_v1.types.UpdateApiVersionRequest" }, { - "name": "api", - "type": "google.cloud.apigee_registry_v1.types.Api" + "name": "api_version", + "type": "google.cloud.apigee_registry_v1.types.ApiVersion" }, { "name": "update_mask", @@ -9033,14 +5967,14 @@ "type": "Sequence[Tuple[str, str]" } ], - "resultType": "google.cloud.apigee_registry_v1.types.Api", - "shortName": "update_api" + "resultType": "google.cloud.apigee_registry_v1.types.ApiVersion", + "shortName": "update_api_version" }, - "description": "Sample for UpdateApi", - "file": "apigeeregistry_v1_generated_registry_update_api_async.py", + "description": "Sample for UpdateApiVersion", + "file": "apigeeregistry_v1_generated_registry_update_api_version_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApi_async", + "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiVersion_sync", "segments": [ { "end": 50, @@ -9073,16 +6007,17 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_update_api_async.py" + "title": "apigeeregistry_v1_generated_registry_update_api_version_sync.py" }, { "canonical": true, "clientMethod": { + "async": true, "client": { - "fullName": "google.cloud.apigee_registry_v1.RegistryClient", - "shortName": "RegistryClient" + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient", + "shortName": "RegistryAsyncClient" }, - "fullName": "google.cloud.apigee_registry_v1.RegistryClient.update_api", + "fullName": "google.cloud.apigee_registry_v1.RegistryAsyncClient.update_api", "method": { "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApi", "service": { @@ -9121,10 +6056,10 @@ "shortName": "update_api" }, "description": "Sample for UpdateApi", - "file": "apigeeregistry_v1_generated_registry_update_api_sync_efb5a2e0.py", + "file": "apigeeregistry_v1_generated_registry_update_api_async.py", "language": "PYTHON", "origin": "API_DEFINITION", - "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApi_sync", + "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApi_async", "segments": [ { "end": 50, @@ -9157,7 +6092,7 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_update_api_sync_efb5a2e0.py" + "title": "apigeeregistry_v1_generated_registry_update_api_async.py" }, { "canonical": true, @@ -9205,7 +6140,7 @@ "shortName": "update_api" }, "description": "Sample for UpdateApi", - "file": "apigeeregistry_v1_generated_registry_update_api_sync_a304797b.py", + "file": "apigeeregistry_v1_generated_registry_update_api_sync.py", "language": "PYTHON", "origin": "API_DEFINITION", "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApi_sync", @@ -9241,7 +6176,7 @@ "type": "RESPONSE_HANDLING" } ], - "title": "apigeeregistry_v1_generated_registry_update_api_sync_a304797b.py" + "title": "apigeeregistry_v1_generated_registry_update_api_sync.py" } ] } diff --git a/packages/google-cloud-apigee-registry/setup.py b/packages/google-cloud-apigee-registry/setup.py index 6a3ed7b147b8..87e6e879acfb 100644 --- a/packages/google-cloud-apigee-registry/setup.py +++ b/packages/google-cloud-apigee-registry/setup.py @@ -1,33 +1,47 @@ # -*- coding: utf-8 -*- -# -# Copyright 2020 Google LLC +# 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# 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. - +# import io import os -import setuptools +import setuptools # type: ignore + +package_root = os.path.abspath(os.path.dirname(__file__)) name = "google-cloud-apigee-registry" -description = "Apigee Registry API client library" -version = "0.3.2" -release_status = "Development Status :: 4 - Beta" + + +description = "Google Cloud Apigee Registry API client library" + +version = {} +with open( + os.path.join(package_root, "google/cloud/apigee_registry/gapic_version.py") +) as fp: + exec(fp.read(), version) +version = version["__version__"] + +if version[0] == "0": + release_status = "Development Status :: 4 - Beta" +else: + release_status = "Development Status :: 5 - Production/Stable" + dependencies = [ "google-api-core[grpc] >= 1.33.2, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*", "proto-plus >= 1.22.0, <2.0.0dev", "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" @@ -47,7 +61,6 @@ if "google.cloud" in packages: namespaces.append("google.cloud") - setuptools.setup( name=name, version=version, diff --git a/packages/google-cloud-apigee-registry/testing/constraints-3.10.txt b/packages/google-cloud-apigee-registry/testing/constraints-3.10.txt index e69de29bb2d1..ad3f0fa58e2d 100644 --- a/packages/google-cloud-apigee-registry/testing/constraints-3.10.txt +++ b/packages/google-cloud-apigee-registry/testing/constraints-3.10.txt @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This constraints file is required for unit tests. +# List all library dependencies and extras in this file. +google-api-core +proto-plus +protobuf +grpc-google-iam-v1 diff --git a/packages/google-cloud-apigee-registry/testing/constraints-3.11.txt b/packages/google-cloud-apigee-registry/testing/constraints-3.11.txt index e69de29bb2d1..ad3f0fa58e2d 100644 --- a/packages/google-cloud-apigee-registry/testing/constraints-3.11.txt +++ b/packages/google-cloud-apigee-registry/testing/constraints-3.11.txt @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This constraints file is required for unit tests. +# List all library dependencies and extras in this file. +google-api-core +proto-plus +protobuf +grpc-google-iam-v1 diff --git a/packages/google-cloud-apigee-registry/testing/constraints-3.7.txt b/packages/google-cloud-apigee-registry/testing/constraints-3.7.txt index 883a87aefd06..e9077f8ca8af 100644 --- a/packages/google-cloud-apigee-registry/testing/constraints-3.7.txt +++ b/packages/google-cloud-apigee-registry/testing/constraints-3.7.txt @@ -4,6 +4,8 @@ # Pin the version to the lower bound. # e.g., if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0dev", # Then this file should have google-cloud-foo==1.14.0 +# This file is intentionally left empty to test the +# latest versions of dependencies. google-api-core==1.33.2 proto-plus==1.22.0 protobuf==3.19.5 diff --git a/packages/google-cloud-apigee-registry/testing/constraints-3.8.txt b/packages/google-cloud-apigee-registry/testing/constraints-3.8.txt index e69de29bb2d1..ad3f0fa58e2d 100644 --- a/packages/google-cloud-apigee-registry/testing/constraints-3.8.txt +++ b/packages/google-cloud-apigee-registry/testing/constraints-3.8.txt @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This constraints file is required for unit tests. +# List all library dependencies and extras in this file. +google-api-core +proto-plus +protobuf +grpc-google-iam-v1 diff --git a/packages/google-cloud-apigee-registry/testing/constraints-3.9.txt b/packages/google-cloud-apigee-registry/testing/constraints-3.9.txt index e69de29bb2d1..ad3f0fa58e2d 100644 --- a/packages/google-cloud-apigee-registry/testing/constraints-3.9.txt +++ b/packages/google-cloud-apigee-registry/testing/constraints-3.9.txt @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This constraints file is required for unit tests. +# List all library dependencies and extras in this file. +google-api-core +proto-plus +protobuf +grpc-google-iam-v1 diff --git a/packages/google-cloud-apigee-registry/tests/unit/gapic/apigee_registry_v1/test_provisioning.py b/packages/google-cloud-apigee-registry/tests/unit/gapic/apigee_registry_v1/test_provisioning.py index 97292492fb4d..4e618a51f43e 100644 --- a/packages/google-cloud-apigee-registry/tests/unit/gapic/apigee_registry_v1/test_provisioning.py +++ b/packages/google-cloud-apigee-registry/tests/unit/gapic/apigee_registry_v1/test_provisioning.py @@ -22,46 +22,48 @@ except ImportError: # pragma: NO COVER import mock -import grpc -from grpc.experimental import aio from collections.abc import Iterable -from google.protobuf import json_format import json import math -import pytest -from proto.marshal.rules.dates import DurationRule, TimestampRule -from proto.marshal.rules import wrappers -from requests import Response -from requests import Request, PreparedRequest -from requests.sessions import Session -from google.protobuf import json_format +from google.api_core import ( + future, + gapic_v1, + grpc_helpers, + grpc_helpers_async, + operation, + operations_v1, + path_template, +) from google.api_core import client_options from google.api_core import exceptions as core_exceptions -from google.api_core import future -from google.api_core import gapic_v1 -from google.api_core import grpc_helpers -from google.api_core import grpc_helpers_async -from google.api_core import operation from google.api_core import operation_async # type: ignore -from google.api_core import operations_v1 -from google.api_core import path_template +import google.auth from google.auth import credentials as ga_credentials from google.auth.exceptions import MutualTLSChannelError -from google.cloud.apigee_registry_v1.services.provisioning import ( - ProvisioningAsyncClient, -) -from google.cloud.apigee_registry_v1.services.provisioning import ProvisioningClient -from google.cloud.apigee_registry_v1.services.provisioning import transports -from google.cloud.apigee_registry_v1.types import provisioning_service from google.cloud.location import locations_pb2 from google.iam.v1 import iam_policy_pb2 # type: ignore from google.iam.v1 import options_pb2 # type: ignore from google.iam.v1 import policy_pb2 # type: ignore from google.longrunning import operations_pb2 from google.oauth2 import service_account +from google.protobuf import empty_pb2 # type: ignore +from google.protobuf import json_format from google.protobuf import timestamp_pb2 # type: ignore -import google.auth +import grpc +from grpc.experimental import aio +from proto.marshal.rules import wrappers +from proto.marshal.rules.dates import DurationRule, TimestampRule +import pytest +from requests import PreparedRequest, Request, Response +from requests.sessions import Session + +from google.cloud.apigee_registry_v1.services.provisioning import ( + ProvisioningAsyncClient, + ProvisioningClient, + transports, +) +from google.cloud.apigee_registry_v1.types import provisioning_service def client_cert_source_callback(): diff --git a/packages/google-cloud-apigee-registry/tests/unit/gapic/apigee_registry_v1/test_registry.py b/packages/google-cloud-apigee-registry/tests/unit/gapic/apigee_registry_v1/test_registry.py index 75a87c0e9bb2..76c5a4b3ac5b 100644 --- a/packages/google-cloud-apigee-registry/tests/unit/gapic/apigee_registry_v1/test_registry.py +++ b/packages/google-cloud-apigee-registry/tests/unit/gapic/apigee_registry_v1/test_registry.py @@ -22,35 +22,17 @@ except ImportError: # pragma: NO COVER import mock -import grpc -from grpc.experimental import aio from collections.abc import Iterable -from google.protobuf import json_format import json import math -import pytest -from proto.marshal.rules.dates import DurationRule, TimestampRule -from proto.marshal.rules import wrappers -from requests import Response -from requests import Request, PreparedRequest -from requests.sessions import Session -from google.protobuf import json_format from google.api import httpbody_pb2 # type: ignore +from google.api_core import gapic_v1, grpc_helpers, grpc_helpers_async, path_template from google.api_core import client_options from google.api_core import exceptions as core_exceptions -from google.api_core import gapic_v1 -from google.api_core import grpc_helpers -from google.api_core import grpc_helpers_async -from google.api_core import path_template +import google.auth from google.auth import credentials as ga_credentials from google.auth.exceptions import MutualTLSChannelError -from google.cloud.apigee_registry_v1.services.registry import RegistryAsyncClient -from google.cloud.apigee_registry_v1.services.registry import RegistryClient -from google.cloud.apigee_registry_v1.services.registry import pagers -from google.cloud.apigee_registry_v1.services.registry import transports -from google.cloud.apigee_registry_v1.types import registry_models -from google.cloud.apigee_registry_v1.types import registry_service from google.cloud.location import locations_pb2 from google.iam.v1 import iam_policy_pb2 # type: ignore from google.iam.v1 import options_pb2 # type: ignore @@ -59,8 +41,23 @@ from google.oauth2 import service_account from google.protobuf import any_pb2 # type: ignore from google.protobuf import field_mask_pb2 # type: ignore +from google.protobuf import json_format from google.protobuf import timestamp_pb2 # type: ignore -import google.auth +import grpc +from grpc.experimental import aio +from proto.marshal.rules import wrappers +from proto.marshal.rules.dates import DurationRule, TimestampRule +import pytest +from requests import PreparedRequest, Request, Response +from requests.sessions import Session + +from google.cloud.apigee_registry_v1.services.registry import ( + RegistryAsyncClient, + RegistryClient, + pagers, + transports, +) +from google.cloud.apigee_registry_v1.types import registry_models, registry_service def client_cert_source_callback():