diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index b668c04..44c78f7 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:ed1f9983d5a935a89fe8085e8bb97d94e41015252c5b6c9771257cf8624367e6 - + digest: sha256:4e1991042fe54b991db9ca17c8fb386e61b22fe4d1472a568bf0fcac85dcf5d3 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f7b8344..b46d730 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -8,9 +8,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: "3.10" - name: Install nox @@ -24,9 +24,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: "3.10" - name: Install nox diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1e8b05c..f512a49 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,9 +8,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: "3.10" - name: Install nox diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 074ee25..e5be6ed 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -11,9 +11,9 @@ jobs: python: ['3.6', '3.7', '3.8', '3.9', '3.10'] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python }} - name: Install nox @@ -26,7 +26,7 @@ jobs: run: | nox -s unit-${{ matrix.python }} - name: Upload coverage results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: coverage-artifacts path: .coverage-${{ matrix.python }} @@ -37,9 +37,9 @@ jobs: - unit steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: "3.10" - name: Install coverage @@ -47,7 +47,7 @@ jobs: python -m pip install --upgrade setuptools pip wheel python -m pip install coverage - name: Download coverage results - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: coverage-artifacts path: .coverage-results/ diff --git a/CHANGELOG.md b/CHANGELOG.md index ef14897..c29d738 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +### [1.3.1](https://github.com/googleapis/python-network-connectivity/compare/v1.3.0...v1.3.1) (2022-03-05) + + +### Bug Fixes + +* **deps:** require google-api-core>=1.31.5, >=2.3.2 ([#134](https://github.com/googleapis/python-network-connectivity/issues/134)) ([f4c87e7](https://github.com/googleapis/python-network-connectivity/commit/f4c87e7c82f20116b1e9275656e10ba878761206)) +* **deps:** require proto-plus>=1.15.0 ([f4c87e7](https://github.com/googleapis/python-network-connectivity/commit/f4c87e7c82f20116b1e9275656e10ba878761206)) + ## [1.3.0](https://github.com/googleapis/python-network-connectivity/compare/v1.2.2...v1.3.0) (2022-02-11) diff --git a/google/cloud/networkconnectivity/__init__.py b/google/cloud/networkconnectivity/__init__.py index ec5de09..5c3c58b 100644 --- a/google/cloud/networkconnectivity/__init__.py +++ b/google/cloud/networkconnectivity/__init__.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1/__init__.py b/google/cloud/networkconnectivity_v1/__init__.py index 60d0a1b..b1e290b 100644 --- a/google/cloud/networkconnectivity_v1/__init__.py +++ b/google/cloud/networkconnectivity_v1/__init__.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1/services/__init__.py b/google/cloud/networkconnectivity_v1/services/__init__.py index 4de6597..e8e1c38 100644 --- a/google/cloud/networkconnectivity_v1/services/__init__.py +++ b/google/cloud/networkconnectivity_v1/services/__init__.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1/services/hub_service/__init__.py b/google/cloud/networkconnectivity_v1/services/hub_service/__init__.py index b464df6..a516a7c 100644 --- a/google/cloud/networkconnectivity_v1/services/hub_service/__init__.py +++ b/google/cloud/networkconnectivity_v1/services/hub_service/__init__.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1/services/hub_service/async_client.py b/google/cloud/networkconnectivity_v1/services/hub_service/async_client.py index 6cf56df..4421596 100644 --- a/google/cloud/networkconnectivity_v1/services/hub_service/async_client.py +++ b/google/cloud/networkconnectivity_v1/services/hub_service/async_client.py @@ -1,5 +1,5 @@ # -*- 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. @@ -232,7 +232,7 @@ async def list_hubs( ) -> pagers.ListHubsAsyncPager: r"""Lists hubs in a given project. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 @@ -332,7 +332,7 @@ async def get_hub( ) -> hub.Hub: r"""Gets details about the specified hub. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 @@ -432,7 +432,7 @@ async def create_hub( ) -> operation_async.AsyncOperation: r"""Creates a new hub in the specified project. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 @@ -562,7 +562,7 @@ async def update_hub( specified hub. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 @@ -684,7 +684,7 @@ async def delete_hub( ) -> operation_async.AsyncOperation: r"""Deletes the specified hub. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 @@ -801,7 +801,7 @@ async def list_spokes( location. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 @@ -899,7 +899,7 @@ async def get_spoke( ) -> hub.Spoke: r"""Gets details about the specified spoke. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 @@ -1001,7 +1001,7 @@ async def create_spoke( location. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 @@ -1131,7 +1131,7 @@ async def update_spoke( ) -> operation_async.AsyncOperation: r"""Updates the parameters of the specified spoke. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 @@ -1258,7 +1258,7 @@ async def delete_spoke( ) -> operation_async.AsyncOperation: r"""Deletes the specified spoke. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 diff --git a/google/cloud/networkconnectivity_v1/services/hub_service/client.py b/google/cloud/networkconnectivity_v1/services/hub_service/client.py index d4abc4c..8fa31c1 100644 --- a/google/cloud/networkconnectivity_v1/services/hub_service/client.py +++ b/google/cloud/networkconnectivity_v1/services/hub_service/client.py @@ -1,5 +1,5 @@ # -*- 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. @@ -499,8 +499,7 @@ def list_hubs( ) -> pagers.ListHubsPager: r"""Lists hubs in a given project. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 @@ -600,8 +599,7 @@ def get_hub( ) -> hub.Hub: r"""Gets details about the specified hub. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 @@ -701,8 +699,7 @@ def create_hub( ) -> operation.Operation: r"""Creates a new hub in the specified project. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 @@ -832,8 +829,7 @@ def update_hub( specified hub. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 @@ -955,8 +951,7 @@ def delete_hub( ) -> operation.Operation: r"""Deletes the specified hub. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 @@ -1073,8 +1068,7 @@ def list_spokes( location. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 @@ -1172,8 +1166,7 @@ def get_spoke( ) -> hub.Spoke: r"""Gets details about the specified spoke. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 @@ -1275,8 +1268,7 @@ def create_spoke( location. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 @@ -1406,8 +1398,7 @@ def update_spoke( ) -> operation.Operation: r"""Updates the parameters of the specified spoke. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 @@ -1534,8 +1525,7 @@ def delete_spoke( ) -> operation.Operation: r"""Deletes the specified spoke. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1 diff --git a/google/cloud/networkconnectivity_v1/services/hub_service/pagers.py b/google/cloud/networkconnectivity_v1/services/hub_service/pagers.py index 3936ff4..35d00e6 100644 --- a/google/cloud/networkconnectivity_v1/services/hub_service/pagers.py +++ b/google/cloud/networkconnectivity_v1/services/hub_service/pagers.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1/services/hub_service/transports/__init__.py b/google/cloud/networkconnectivity_v1/services/hub_service/transports/__init__.py index a384768..dc3f0da 100644 --- a/google/cloud/networkconnectivity_v1/services/hub_service/transports/__init__.py +++ b/google/cloud/networkconnectivity_v1/services/hub_service/transports/__init__.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1/services/hub_service/transports/base.py b/google/cloud/networkconnectivity_v1/services/hub_service/transports/base.py index a71dc8e..335db53 100644 --- a/google/cloud/networkconnectivity_v1/services/hub_service/transports/base.py +++ b/google/cloud/networkconnectivity_v1/services/hub_service/transports/base.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1/services/hub_service/transports/grpc.py b/google/cloud/networkconnectivity_v1/services/hub_service/transports/grpc.py index 4702f36..bcf19bd 100644 --- a/google/cloud/networkconnectivity_v1/services/hub_service/transports/grpc.py +++ b/google/cloud/networkconnectivity_v1/services/hub_service/transports/grpc.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1/services/hub_service/transports/grpc_asyncio.py b/google/cloud/networkconnectivity_v1/services/hub_service/transports/grpc_asyncio.py index f4d1d63..6f187ba 100644 --- a/google/cloud/networkconnectivity_v1/services/hub_service/transports/grpc_asyncio.py +++ b/google/cloud/networkconnectivity_v1/services/hub_service/transports/grpc_asyncio.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1/types/__init__.py b/google/cloud/networkconnectivity_v1/types/__init__.py index fff485a..f7454b0 100644 --- a/google/cloud/networkconnectivity_v1/types/__init__.py +++ b/google/cloud/networkconnectivity_v1/types/__init__.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1/types/common.py b/google/cloud/networkconnectivity_v1/types/common.py index 1aea288..1ff9bf7 100644 --- a/google/cloud/networkconnectivity_v1/types/common.py +++ b/google/cloud/networkconnectivity_v1/types/common.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1/types/hub.py b/google/cloud/networkconnectivity_v1/types/hub.py index 0193305..b43e320 100644 --- a/google/cloud/networkconnectivity_v1/types/hub.py +++ b/google/cloud/networkconnectivity_v1/types/hub.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1alpha1/__init__.py b/google/cloud/networkconnectivity_v1alpha1/__init__.py index 8bc5cdc..3fa9859 100644 --- a/google/cloud/networkconnectivity_v1alpha1/__init__.py +++ b/google/cloud/networkconnectivity_v1alpha1/__init__.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1alpha1/services/__init__.py b/google/cloud/networkconnectivity_v1alpha1/services/__init__.py index 4de6597..e8e1c38 100644 --- a/google/cloud/networkconnectivity_v1alpha1/services/__init__.py +++ b/google/cloud/networkconnectivity_v1alpha1/services/__init__.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1alpha1/services/hub_service/__init__.py b/google/cloud/networkconnectivity_v1alpha1/services/hub_service/__init__.py index b464df6..a516a7c 100644 --- a/google/cloud/networkconnectivity_v1alpha1/services/hub_service/__init__.py +++ b/google/cloud/networkconnectivity_v1alpha1/services/hub_service/__init__.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1alpha1/services/hub_service/async_client.py b/google/cloud/networkconnectivity_v1alpha1/services/hub_service/async_client.py index 12dffa9..0305d97 100644 --- a/google/cloud/networkconnectivity_v1alpha1/services/hub_service/async_client.py +++ b/google/cloud/networkconnectivity_v1alpha1/services/hub_service/async_client.py @@ -1,5 +1,5 @@ # -*- 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. @@ -230,7 +230,7 @@ async def list_hubs( ) -> pagers.ListHubsAsyncPager: r"""Lists Hubs in a given project and location. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 @@ -330,7 +330,7 @@ async def get_hub( ) -> hub.Hub: r"""Gets details of a single Hub. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 @@ -428,7 +428,7 @@ async def create_hub( ) -> operation_async.AsyncOperation: r"""Creates a new Hub in a given project and location. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 @@ -555,7 +555,7 @@ async def update_hub( ) -> operation_async.AsyncOperation: r"""Updates the parameters of a single Hub. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 @@ -675,7 +675,7 @@ async def delete_hub( ) -> operation_async.AsyncOperation: r"""Deletes a single Hub. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 @@ -790,7 +790,7 @@ async def list_spokes( ) -> pagers.ListSpokesAsyncPager: r"""Lists Spokes in a given project and location. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 @@ -888,7 +888,7 @@ async def get_spoke( ) -> hub.Spoke: r"""Gets details of a single Spoke. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 @@ -981,7 +981,7 @@ async def create_spoke( ) -> operation_async.AsyncOperation: r"""Creates a new Spoke in a given project and location. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 @@ -1106,7 +1106,7 @@ async def update_spoke( ) -> operation_async.AsyncOperation: r"""Updates the parameters of a single Spoke. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 @@ -1227,7 +1227,7 @@ async def delete_spoke( ) -> operation_async.AsyncOperation: r"""Deletes a single Spoke. - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 diff --git a/google/cloud/networkconnectivity_v1alpha1/services/hub_service/client.py b/google/cloud/networkconnectivity_v1alpha1/services/hub_service/client.py index d195edb..52e265a 100644 --- a/google/cloud/networkconnectivity_v1alpha1/services/hub_service/client.py +++ b/google/cloud/networkconnectivity_v1alpha1/services/hub_service/client.py @@ -1,5 +1,5 @@ # -*- 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. @@ -484,8 +484,7 @@ def list_hubs( ) -> pagers.ListHubsPager: r"""Lists Hubs in a given project and location. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 @@ -585,8 +584,7 @@ def get_hub( ) -> hub.Hub: r"""Gets details of a single Hub. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 @@ -684,8 +682,7 @@ def create_hub( ) -> operation.Operation: r"""Creates a new Hub in a given project and location. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 @@ -812,8 +809,7 @@ def update_hub( ) -> operation.Operation: r"""Updates the parameters of a single Hub. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 @@ -933,8 +929,7 @@ def delete_hub( ) -> operation.Operation: r"""Deletes a single Hub. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 @@ -1049,8 +1044,7 @@ def list_spokes( ) -> pagers.ListSpokesPager: r"""Lists Spokes in a given project and location. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 @@ -1148,8 +1142,7 @@ def get_spoke( ) -> hub.Spoke: r"""Gets details of a single Spoke. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 @@ -1242,8 +1235,7 @@ def create_spoke( ) -> operation.Operation: r"""Creates a new Spoke in a given project and location. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 @@ -1368,8 +1360,7 @@ def update_spoke( ) -> operation.Operation: r"""Updates the parameters of a single Spoke. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 @@ -1490,8 +1481,7 @@ def delete_spoke( ) -> operation.Operation: r"""Deletes a single Spoke. - - .. code-block:: + .. code-block:: python from google.cloud import networkconnectivity_v1alpha1 diff --git a/google/cloud/networkconnectivity_v1alpha1/services/hub_service/pagers.py b/google/cloud/networkconnectivity_v1alpha1/services/hub_service/pagers.py index f9296ed..0beced3 100644 --- a/google/cloud/networkconnectivity_v1alpha1/services/hub_service/pagers.py +++ b/google/cloud/networkconnectivity_v1alpha1/services/hub_service/pagers.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1alpha1/services/hub_service/transports/__init__.py b/google/cloud/networkconnectivity_v1alpha1/services/hub_service/transports/__init__.py index a384768..dc3f0da 100644 --- a/google/cloud/networkconnectivity_v1alpha1/services/hub_service/transports/__init__.py +++ b/google/cloud/networkconnectivity_v1alpha1/services/hub_service/transports/__init__.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1alpha1/services/hub_service/transports/base.py b/google/cloud/networkconnectivity_v1alpha1/services/hub_service/transports/base.py index 3afeb05..8dbec8a 100644 --- a/google/cloud/networkconnectivity_v1alpha1/services/hub_service/transports/base.py +++ b/google/cloud/networkconnectivity_v1alpha1/services/hub_service/transports/base.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1alpha1/services/hub_service/transports/grpc.py b/google/cloud/networkconnectivity_v1alpha1/services/hub_service/transports/grpc.py index 893af44..7910ab3 100644 --- a/google/cloud/networkconnectivity_v1alpha1/services/hub_service/transports/grpc.py +++ b/google/cloud/networkconnectivity_v1alpha1/services/hub_service/transports/grpc.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1alpha1/services/hub_service/transports/grpc_asyncio.py b/google/cloud/networkconnectivity_v1alpha1/services/hub_service/transports/grpc_asyncio.py index b403bfa..d69af13 100644 --- a/google/cloud/networkconnectivity_v1alpha1/services/hub_service/transports/grpc_asyncio.py +++ b/google/cloud/networkconnectivity_v1alpha1/services/hub_service/transports/grpc_asyncio.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1alpha1/types/__init__.py b/google/cloud/networkconnectivity_v1alpha1/types/__init__.py index 384c991..1742db4 100644 --- a/google/cloud/networkconnectivity_v1alpha1/types/__init__.py +++ b/google/cloud/networkconnectivity_v1alpha1/types/__init__.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1alpha1/types/common.py b/google/cloud/networkconnectivity_v1alpha1/types/common.py index e00e806..b70a4e8 100644 --- a/google/cloud/networkconnectivity_v1alpha1/types/common.py +++ b/google/cloud/networkconnectivity_v1alpha1/types/common.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/google/cloud/networkconnectivity_v1alpha1/types/hub.py b/google/cloud/networkconnectivity_v1alpha1/types/hub.py index 9e408f8..085d61a 100644 --- a/google/cloud/networkconnectivity_v1alpha1/types/hub.py +++ b/google/cloud/networkconnectivity_v1alpha1/types/hub.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_create_hub_async.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_create_hub_async.py similarity index 87% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_create_hub_async.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_create_hub_async.py index 33dfc97..a2c8b61 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_create_hub_async.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_create_hub_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_CreateHub_async] +# [START networkconnectivity_v1_generated_HubService_CreateHub_async] from google.cloud import networkconnectivity_v1 @@ -47,4 +47,4 @@ async def sample_create_hub(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_CreateHub_async] +# [END networkconnectivity_v1_generated_HubService_CreateHub_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_create_hub_sync.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_create_hub_sync.py similarity index 87% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_create_hub_sync.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_create_hub_sync.py index dcb3f8b..c20bd61 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_create_hub_sync.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_create_hub_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_CreateHub_sync] +# [START networkconnectivity_v1_generated_HubService_CreateHub_sync] from google.cloud import networkconnectivity_v1 @@ -47,4 +47,4 @@ def sample_create_hub(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_CreateHub_sync] +# [END networkconnectivity_v1_generated_HubService_CreateHub_sync] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_create_spoke_async.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_create_spoke_async.py similarity index 87% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_create_spoke_async.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_create_spoke_async.py index 5019f5c..2d8a354 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_create_spoke_async.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_create_spoke_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_CreateSpoke_async] +# [START networkconnectivity_v1_generated_HubService_CreateSpoke_async] from google.cloud import networkconnectivity_v1 @@ -47,4 +47,4 @@ async def sample_create_spoke(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_CreateSpoke_async] +# [END networkconnectivity_v1_generated_HubService_CreateSpoke_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_create_spoke_sync.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_create_spoke_sync.py similarity index 87% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_create_spoke_sync.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_create_spoke_sync.py index b21eeb5..da262ec 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_create_spoke_sync.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_create_spoke_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_CreateSpoke_sync] +# [START networkconnectivity_v1_generated_HubService_CreateSpoke_sync] from google.cloud import networkconnectivity_v1 @@ -47,4 +47,4 @@ def sample_create_spoke(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_CreateSpoke_sync] +# [END networkconnectivity_v1_generated_HubService_CreateSpoke_sync] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_delete_hub_async.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_delete_hub_async.py similarity index 87% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_delete_hub_async.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_delete_hub_async.py index d0c9f56..52444dd 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_delete_hub_async.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_delete_hub_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_DeleteHub_async] +# [START networkconnectivity_v1_generated_HubService_DeleteHub_async] from google.cloud import networkconnectivity_v1 @@ -46,4 +46,4 @@ async def sample_delete_hub(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_DeleteHub_async] +# [END networkconnectivity_v1_generated_HubService_DeleteHub_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_delete_hub_sync.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_delete_hub_sync.py similarity index 87% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_delete_hub_sync.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_delete_hub_sync.py index 9ff06a2..9f78e18 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_delete_hub_sync.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_delete_hub_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_DeleteHub_sync] +# [START networkconnectivity_v1_generated_HubService_DeleteHub_sync] from google.cloud import networkconnectivity_v1 @@ -46,4 +46,4 @@ def sample_delete_hub(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_DeleteHub_sync] +# [END networkconnectivity_v1_generated_HubService_DeleteHub_sync] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_delete_spoke_async.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_delete_spoke_async.py similarity index 87% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_delete_spoke_async.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_delete_spoke_async.py index e810c14..9083821 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_delete_spoke_async.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_delete_spoke_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_DeleteSpoke_async] +# [START networkconnectivity_v1_generated_HubService_DeleteSpoke_async] from google.cloud import networkconnectivity_v1 @@ -46,4 +46,4 @@ async def sample_delete_spoke(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_DeleteSpoke_async] +# [END networkconnectivity_v1_generated_HubService_DeleteSpoke_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_delete_spoke_sync.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_delete_spoke_sync.py similarity index 87% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_delete_spoke_sync.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_delete_spoke_sync.py index b8f7508..672856b 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_delete_spoke_sync.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_delete_spoke_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_DeleteSpoke_sync] +# [START networkconnectivity_v1_generated_HubService_DeleteSpoke_sync] from google.cloud import networkconnectivity_v1 @@ -46,4 +46,4 @@ def sample_delete_spoke(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_DeleteSpoke_sync] +# [END networkconnectivity_v1_generated_HubService_DeleteSpoke_sync] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_get_hub_async.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_get_hub_async.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_get_hub_async.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_get_hub_async.py index 5204c07..c8cc25a 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_get_hub_async.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_get_hub_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_GetHub_async] +# [START networkconnectivity_v1_generated_HubService_GetHub_async] from google.cloud import networkconnectivity_v1 @@ -42,4 +42,4 @@ async def sample_get_hub(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_GetHub_async] +# [END networkconnectivity_v1_generated_HubService_GetHub_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_get_hub_sync.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_get_hub_sync.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_get_hub_sync.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_get_hub_sync.py index 4431310..2f2e0eb 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_get_hub_sync.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_get_hub_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_GetHub_sync] +# [START networkconnectivity_v1_generated_HubService_GetHub_sync] from google.cloud import networkconnectivity_v1 @@ -42,4 +42,4 @@ def sample_get_hub(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_GetHub_sync] +# [END networkconnectivity_v1_generated_HubService_GetHub_sync] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_get_spoke_async.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_get_spoke_async.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_get_spoke_async.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_get_spoke_async.py index 3abf33c..a2f5c31 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_get_spoke_async.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_get_spoke_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_GetSpoke_async] +# [START networkconnectivity_v1_generated_HubService_GetSpoke_async] from google.cloud import networkconnectivity_v1 @@ -42,4 +42,4 @@ async def sample_get_spoke(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_GetSpoke_async] +# [END networkconnectivity_v1_generated_HubService_GetSpoke_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_get_spoke_sync.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_get_spoke_sync.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_get_spoke_sync.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_get_spoke_sync.py index ff98684..d7d230c 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_get_spoke_sync.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_get_spoke_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_GetSpoke_sync] +# [START networkconnectivity_v1_generated_HubService_GetSpoke_sync] from google.cloud import networkconnectivity_v1 @@ -42,4 +42,4 @@ def sample_get_spoke(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_GetSpoke_sync] +# [END networkconnectivity_v1_generated_HubService_GetSpoke_sync] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_list_hubs_async.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_list_hubs_async.py similarity index 87% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_list_hubs_async.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_list_hubs_async.py index c25bb43..e90827e 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_list_hubs_async.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_list_hubs_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_ListHubs_async] +# [START networkconnectivity_v1_generated_HubService_ListHubs_async] from google.cloud import networkconnectivity_v1 @@ -43,4 +43,4 @@ async def sample_list_hubs(): async for response in page_result: print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_ListHubs_async] +# [END networkconnectivity_v1_generated_HubService_ListHubs_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_list_hubs_sync.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_list_hubs_sync.py similarity index 87% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_list_hubs_sync.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_list_hubs_sync.py index 8279d99..8a2fd1a 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_list_hubs_sync.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_list_hubs_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_ListHubs_sync] +# [START networkconnectivity_v1_generated_HubService_ListHubs_sync] from google.cloud import networkconnectivity_v1 @@ -43,4 +43,4 @@ def sample_list_hubs(): for response in page_result: print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_ListHubs_sync] +# [END networkconnectivity_v1_generated_HubService_ListHubs_sync] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_list_spokes_async.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_list_spokes_async.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_list_spokes_async.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_list_spokes_async.py index 680c976..ab64dd4 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_list_spokes_async.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_list_spokes_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_ListSpokes_async] +# [START networkconnectivity_v1_generated_HubService_ListSpokes_async] from google.cloud import networkconnectivity_v1 @@ -43,4 +43,4 @@ async def sample_list_spokes(): async for response in page_result: print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_ListSpokes_async] +# [END networkconnectivity_v1_generated_HubService_ListSpokes_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_list_spokes_sync.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_list_spokes_sync.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_list_spokes_sync.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_list_spokes_sync.py index f221206..de2ea46 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_list_spokes_sync.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_list_spokes_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_ListSpokes_sync] +# [START networkconnectivity_v1_generated_HubService_ListSpokes_sync] from google.cloud import networkconnectivity_v1 @@ -43,4 +43,4 @@ def sample_list_spokes(): for response in page_result: print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_ListSpokes_sync] +# [END networkconnectivity_v1_generated_HubService_ListSpokes_sync] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_update_hub_async.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_update_hub_async.py similarity index 87% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_update_hub_async.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_update_hub_async.py index 3fd8f86..d2c52c5 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_update_hub_async.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_update_hub_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_UpdateHub_async] +# [START networkconnectivity_v1_generated_HubService_UpdateHub_async] from google.cloud import networkconnectivity_v1 @@ -45,4 +45,4 @@ async def sample_update_hub(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_UpdateHub_async] +# [END networkconnectivity_v1_generated_HubService_UpdateHub_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_update_hub_sync.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_update_hub_sync.py similarity index 87% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_update_hub_sync.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_update_hub_sync.py index 8be4f4a..73ac1b0 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_update_hub_sync.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_update_hub_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_UpdateHub_sync] +# [START networkconnectivity_v1_generated_HubService_UpdateHub_sync] from google.cloud import networkconnectivity_v1 @@ -45,4 +45,4 @@ def sample_update_hub(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_UpdateHub_sync] +# [END networkconnectivity_v1_generated_HubService_UpdateHub_sync] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_update_spoke_async.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_update_spoke_async.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_update_spoke_async.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_update_spoke_async.py index 6d6cefc..c905655 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_update_spoke_async.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_update_spoke_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_UpdateSpoke_async] +# [START networkconnectivity_v1_generated_HubService_UpdateSpoke_async] from google.cloud import networkconnectivity_v1 @@ -45,4 +45,4 @@ async def sample_update_spoke(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_UpdateSpoke_async] +# [END networkconnectivity_v1_generated_HubService_UpdateSpoke_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_update_spoke_sync.py b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_update_spoke_sync.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_update_spoke_sync.py rename to samples/generated_samples/networkconnectivity_v1_generated_hub_service_update_spoke_sync.py index ff5a777..4ef1056 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_update_spoke_sync.py +++ b/samples/generated_samples/networkconnectivity_v1_generated_hub_service_update_spoke_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-networkconnectivity -# [START networkconnectivity_generated_networkconnectivity_v1_HubService_UpdateSpoke_sync] +# [START networkconnectivity_v1_generated_HubService_UpdateSpoke_sync] from google.cloud import networkconnectivity_v1 @@ -45,4 +45,4 @@ def sample_update_spoke(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1_HubService_UpdateSpoke_sync] +# [END networkconnectivity_v1_generated_HubService_UpdateSpoke_sync] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_create_hub_async.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_create_hub_async.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_create_hub_async.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_create_hub_async.py index 366d90c..cdbdcee 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_create_hub_async.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_create_hub_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_CreateHub_async] +# [START networkconnectivity_v1alpha1_generated_HubService_CreateHub_async] from google.cloud import networkconnectivity_v1alpha1 @@ -46,4 +46,4 @@ async def sample_create_hub(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_CreateHub_async] +# [END networkconnectivity_v1alpha1_generated_HubService_CreateHub_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_create_hub_sync.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_create_hub_sync.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_create_hub_sync.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_create_hub_sync.py index 92a3f19..1c2a803 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_create_hub_sync.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_create_hub_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_CreateHub_sync] +# [START networkconnectivity_v1alpha1_generated_HubService_CreateHub_sync] from google.cloud import networkconnectivity_v1alpha1 @@ -46,4 +46,4 @@ def sample_create_hub(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_CreateHub_sync] +# [END networkconnectivity_v1alpha1_generated_HubService_CreateHub_sync] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_create_spoke_async.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_create_spoke_async.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_create_spoke_async.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_create_spoke_async.py index e07ff15..0799ad3 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_create_spoke_async.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_create_spoke_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_CreateSpoke_async] +# [START networkconnectivity_v1alpha1_generated_HubService_CreateSpoke_async] from google.cloud import networkconnectivity_v1alpha1 @@ -46,4 +46,4 @@ async def sample_create_spoke(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_CreateSpoke_async] +# [END networkconnectivity_v1alpha1_generated_HubService_CreateSpoke_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_create_spoke_sync.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_create_spoke_sync.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_create_spoke_sync.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_create_spoke_sync.py index 1d15f9c..39ea465 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_create_spoke_sync.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_create_spoke_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_CreateSpoke_sync] +# [START networkconnectivity_v1alpha1_generated_HubService_CreateSpoke_sync] from google.cloud import networkconnectivity_v1alpha1 @@ -46,4 +46,4 @@ def sample_create_spoke(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_CreateSpoke_sync] +# [END networkconnectivity_v1alpha1_generated_HubService_CreateSpoke_sync] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_delete_hub_async.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_delete_hub_async.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_delete_hub_async.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_delete_hub_async.py index f2508d7..d94ee7a 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_delete_hub_async.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_delete_hub_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_DeleteHub_async] +# [START networkconnectivity_v1alpha1_generated_HubService_DeleteHub_async] from google.cloud import networkconnectivity_v1alpha1 @@ -46,4 +46,4 @@ async def sample_delete_hub(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_DeleteHub_async] +# [END networkconnectivity_v1alpha1_generated_HubService_DeleteHub_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_delete_hub_sync.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_delete_hub_sync.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_delete_hub_sync.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_delete_hub_sync.py index 891d259..d6526a6 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_delete_hub_sync.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_delete_hub_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_DeleteHub_sync] +# [START networkconnectivity_v1alpha1_generated_HubService_DeleteHub_sync] from google.cloud import networkconnectivity_v1alpha1 @@ -46,4 +46,4 @@ def sample_delete_hub(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_DeleteHub_sync] +# [END networkconnectivity_v1alpha1_generated_HubService_DeleteHub_sync] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_delete_spoke_async.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_delete_spoke_async.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_delete_spoke_async.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_delete_spoke_async.py index c08ad9f..183d0b0 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_delete_spoke_async.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_delete_spoke_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_DeleteSpoke_async] +# [START networkconnectivity_v1alpha1_generated_HubService_DeleteSpoke_async] from google.cloud import networkconnectivity_v1alpha1 @@ -46,4 +46,4 @@ async def sample_delete_spoke(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_DeleteSpoke_async] +# [END networkconnectivity_v1alpha1_generated_HubService_DeleteSpoke_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_delete_spoke_sync.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_delete_spoke_sync.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_delete_spoke_sync.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_delete_spoke_sync.py index 2cb52e5..e807f91 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_delete_spoke_sync.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_delete_spoke_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_DeleteSpoke_sync] +# [START networkconnectivity_v1alpha1_generated_HubService_DeleteSpoke_sync] from google.cloud import networkconnectivity_v1alpha1 @@ -46,4 +46,4 @@ def sample_delete_spoke(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_DeleteSpoke_sync] +# [END networkconnectivity_v1alpha1_generated_HubService_DeleteSpoke_sync] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_get_hub_async.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_get_hub_async.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_get_hub_async.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_get_hub_async.py index 269df56..b61b5ec 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_get_hub_async.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_get_hub_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_GetHub_async] +# [START networkconnectivity_v1alpha1_generated_HubService_GetHub_async] from google.cloud import networkconnectivity_v1alpha1 @@ -42,4 +42,4 @@ async def sample_get_hub(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_GetHub_async] +# [END networkconnectivity_v1alpha1_generated_HubService_GetHub_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_get_hub_sync.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_get_hub_sync.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_get_hub_sync.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_get_hub_sync.py index 0128b7a..0620fe7 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_get_hub_sync.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_get_hub_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_GetHub_sync] +# [START networkconnectivity_v1alpha1_generated_HubService_GetHub_sync] from google.cloud import networkconnectivity_v1alpha1 @@ -42,4 +42,4 @@ def sample_get_hub(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_GetHub_sync] +# [END networkconnectivity_v1alpha1_generated_HubService_GetHub_sync] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_get_spoke_async.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_get_spoke_async.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_get_spoke_async.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_get_spoke_async.py index 66d1ffa..cb16eb4 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_get_spoke_async.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_get_spoke_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_GetSpoke_async] +# [START networkconnectivity_v1alpha1_generated_HubService_GetSpoke_async] from google.cloud import networkconnectivity_v1alpha1 @@ -42,4 +42,4 @@ async def sample_get_spoke(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_GetSpoke_async] +# [END networkconnectivity_v1alpha1_generated_HubService_GetSpoke_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_get_spoke_sync.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_get_spoke_sync.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_get_spoke_sync.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_get_spoke_sync.py index 8f6cd62..b71b3d4 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_get_spoke_sync.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_get_spoke_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_GetSpoke_sync] +# [START networkconnectivity_v1alpha1_generated_HubService_GetSpoke_sync] from google.cloud import networkconnectivity_v1alpha1 @@ -42,4 +42,4 @@ def sample_get_spoke(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_GetSpoke_sync] +# [END networkconnectivity_v1alpha1_generated_HubService_GetSpoke_sync] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_list_hubs_async.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_list_hubs_async.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_list_hubs_async.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_list_hubs_async.py index 0e87441..f2535b0 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_list_hubs_async.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_list_hubs_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_ListHubs_async] +# [START networkconnectivity_v1alpha1_generated_HubService_ListHubs_async] from google.cloud import networkconnectivity_v1alpha1 @@ -43,4 +43,4 @@ async def sample_list_hubs(): async for response in page_result: print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_ListHubs_async] +# [END networkconnectivity_v1alpha1_generated_HubService_ListHubs_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_list_hubs_sync.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_list_hubs_sync.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_list_hubs_sync.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_list_hubs_sync.py index 8f0eb51..6f1d87a 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_list_hubs_sync.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_list_hubs_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_ListHubs_sync] +# [START networkconnectivity_v1alpha1_generated_HubService_ListHubs_sync] from google.cloud import networkconnectivity_v1alpha1 @@ -43,4 +43,4 @@ def sample_list_hubs(): for response in page_result: print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_ListHubs_sync] +# [END networkconnectivity_v1alpha1_generated_HubService_ListHubs_sync] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_list_spokes_async.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_list_spokes_async.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_list_spokes_async.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_list_spokes_async.py index 0817d3e..8434566 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_list_spokes_async.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_list_spokes_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_ListSpokes_async] +# [START networkconnectivity_v1alpha1_generated_HubService_ListSpokes_async] from google.cloud import networkconnectivity_v1alpha1 @@ -43,4 +43,4 @@ async def sample_list_spokes(): async for response in page_result: print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_ListSpokes_async] +# [END networkconnectivity_v1alpha1_generated_HubService_ListSpokes_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_list_spokes_sync.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_list_spokes_sync.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_list_spokes_sync.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_list_spokes_sync.py index 251e432..05b05a1 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_list_spokes_sync.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_list_spokes_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_ListSpokes_sync] +# [START networkconnectivity_v1alpha1_generated_HubService_ListSpokes_sync] from google.cloud import networkconnectivity_v1alpha1 @@ -43,4 +43,4 @@ def sample_list_spokes(): for response in page_result: print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_ListSpokes_sync] +# [END networkconnectivity_v1alpha1_generated_HubService_ListSpokes_sync] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_update_hub_async.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_update_hub_async.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_update_hub_async.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_update_hub_async.py index 89dc301..c916532 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_update_hub_async.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_update_hub_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_UpdateHub_async] +# [START networkconnectivity_v1alpha1_generated_HubService_UpdateHub_async] from google.cloud import networkconnectivity_v1alpha1 @@ -45,4 +45,4 @@ async def sample_update_hub(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_UpdateHub_async] +# [END networkconnectivity_v1alpha1_generated_HubService_UpdateHub_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_update_hub_sync.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_update_hub_sync.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_update_hub_sync.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_update_hub_sync.py index 206ac05..ed9b92b 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_update_hub_sync.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_update_hub_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_UpdateHub_sync] +# [START networkconnectivity_v1alpha1_generated_HubService_UpdateHub_sync] from google.cloud import networkconnectivity_v1alpha1 @@ -45,4 +45,4 @@ def sample_update_hub(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_UpdateHub_sync] +# [END networkconnectivity_v1alpha1_generated_HubService_UpdateHub_sync] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_update_spoke_async.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_update_spoke_async.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_update_spoke_async.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_update_spoke_async.py index 3e4f70d..3dc96e2 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_update_spoke_async.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_update_spoke_async.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_UpdateSpoke_async] +# [START networkconnectivity_v1alpha1_generated_HubService_UpdateSpoke_async] from google.cloud import networkconnectivity_v1alpha1 @@ -45,4 +45,4 @@ async def sample_update_spoke(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_UpdateSpoke_async] +# [END networkconnectivity_v1alpha1_generated_HubService_UpdateSpoke_async] diff --git a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_update_spoke_sync.py b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_update_spoke_sync.py similarity index 86% rename from samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_update_spoke_sync.py rename to samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_update_spoke_sync.py index 232f609..02f0996 100644 --- a/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_update_spoke_sync.py +++ b/samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_update_spoke_sync.py @@ -1,5 +1,5 @@ # -*- 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. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-network-connectivity -# [START networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_UpdateSpoke_sync] +# [START networkconnectivity_v1alpha1_generated_HubService_UpdateSpoke_sync] from google.cloud import networkconnectivity_v1alpha1 @@ -45,4 +45,4 @@ def sample_update_spoke(): # Handle the response print(response) -# [END networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_UpdateSpoke_sync] +# [END networkconnectivity_v1alpha1_generated_HubService_UpdateSpoke_sync] diff --git a/samples/generated_samples/snippet_metadata_networkconnectivity_v1.json b/samples/generated_samples/snippet_metadata_networkconnectivity_v1.json index e6c2e56..dc745c2 100644 --- a/samples/generated_samples/snippet_metadata_networkconnectivity_v1.json +++ b/samples/generated_samples/snippet_metadata_networkconnectivity_v1.json @@ -10,8 +10,8 @@ "shortName": "CreateHub" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_create_hub_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_CreateHub_async", + "file": "networkconnectivity_v1_generated_hub_service_create_hub_async.py", + "regionTag": "networkconnectivity_v1_generated_HubService_CreateHub_async", "segments": [ { "end": 49, @@ -54,8 +54,8 @@ "shortName": "CreateHub" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_create_hub_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_CreateHub_sync", + "file": "networkconnectivity_v1_generated_hub_service_create_hub_sync.py", + "regionTag": "networkconnectivity_v1_generated_HubService_CreateHub_sync", "segments": [ { "end": 49, @@ -99,8 +99,8 @@ "shortName": "CreateSpoke" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_create_spoke_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_CreateSpoke_async", + "file": "networkconnectivity_v1_generated_hub_service_create_spoke_async.py", + "regionTag": "networkconnectivity_v1_generated_HubService_CreateSpoke_async", "segments": [ { "end": 49, @@ -143,8 +143,8 @@ "shortName": "CreateSpoke" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_create_spoke_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_CreateSpoke_sync", + "file": "networkconnectivity_v1_generated_hub_service_create_spoke_sync.py", + "regionTag": "networkconnectivity_v1_generated_HubService_CreateSpoke_sync", "segments": [ { "end": 49, @@ -188,8 +188,8 @@ "shortName": "DeleteHub" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_delete_hub_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_DeleteHub_async", + "file": "networkconnectivity_v1_generated_hub_service_delete_hub_async.py", + "regionTag": "networkconnectivity_v1_generated_HubService_DeleteHub_async", "segments": [ { "end": 48, @@ -232,8 +232,8 @@ "shortName": "DeleteHub" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_delete_hub_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_DeleteHub_sync", + "file": "networkconnectivity_v1_generated_hub_service_delete_hub_sync.py", + "regionTag": "networkconnectivity_v1_generated_HubService_DeleteHub_sync", "segments": [ { "end": 48, @@ -277,8 +277,8 @@ "shortName": "DeleteSpoke" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_delete_spoke_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_DeleteSpoke_async", + "file": "networkconnectivity_v1_generated_hub_service_delete_spoke_async.py", + "regionTag": "networkconnectivity_v1_generated_HubService_DeleteSpoke_async", "segments": [ { "end": 48, @@ -321,8 +321,8 @@ "shortName": "DeleteSpoke" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_delete_spoke_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_DeleteSpoke_sync", + "file": "networkconnectivity_v1_generated_hub_service_delete_spoke_sync.py", + "regionTag": "networkconnectivity_v1_generated_HubService_DeleteSpoke_sync", "segments": [ { "end": 48, @@ -366,8 +366,8 @@ "shortName": "GetHub" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_get_hub_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_GetHub_async", + "file": "networkconnectivity_v1_generated_hub_service_get_hub_async.py", + "regionTag": "networkconnectivity_v1_generated_HubService_GetHub_async", "segments": [ { "end": 44, @@ -410,8 +410,8 @@ "shortName": "GetHub" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_get_hub_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_GetHub_sync", + "file": "networkconnectivity_v1_generated_hub_service_get_hub_sync.py", + "regionTag": "networkconnectivity_v1_generated_HubService_GetHub_sync", "segments": [ { "end": 44, @@ -455,8 +455,8 @@ "shortName": "GetSpoke" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_get_spoke_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_GetSpoke_async", + "file": "networkconnectivity_v1_generated_hub_service_get_spoke_async.py", + "regionTag": "networkconnectivity_v1_generated_HubService_GetSpoke_async", "segments": [ { "end": 44, @@ -499,8 +499,8 @@ "shortName": "GetSpoke" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_get_spoke_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_GetSpoke_sync", + "file": "networkconnectivity_v1_generated_hub_service_get_spoke_sync.py", + "regionTag": "networkconnectivity_v1_generated_HubService_GetSpoke_sync", "segments": [ { "end": 44, @@ -544,8 +544,8 @@ "shortName": "ListHubs" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_list_hubs_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_ListHubs_async", + "file": "networkconnectivity_v1_generated_hub_service_list_hubs_async.py", + "regionTag": "networkconnectivity_v1_generated_HubService_ListHubs_async", "segments": [ { "end": 45, @@ -588,8 +588,8 @@ "shortName": "ListHubs" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_list_hubs_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_ListHubs_sync", + "file": "networkconnectivity_v1_generated_hub_service_list_hubs_sync.py", + "regionTag": "networkconnectivity_v1_generated_HubService_ListHubs_sync", "segments": [ { "end": 45, @@ -633,8 +633,8 @@ "shortName": "ListSpokes" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_list_spokes_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_ListSpokes_async", + "file": "networkconnectivity_v1_generated_hub_service_list_spokes_async.py", + "regionTag": "networkconnectivity_v1_generated_HubService_ListSpokes_async", "segments": [ { "end": 45, @@ -677,8 +677,8 @@ "shortName": "ListSpokes" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_list_spokes_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_ListSpokes_sync", + "file": "networkconnectivity_v1_generated_hub_service_list_spokes_sync.py", + "regionTag": "networkconnectivity_v1_generated_HubService_ListSpokes_sync", "segments": [ { "end": 45, @@ -722,8 +722,8 @@ "shortName": "UpdateHub" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_update_hub_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_UpdateHub_async", + "file": "networkconnectivity_v1_generated_hub_service_update_hub_async.py", + "regionTag": "networkconnectivity_v1_generated_HubService_UpdateHub_async", "segments": [ { "end": 47, @@ -766,8 +766,8 @@ "shortName": "UpdateHub" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_update_hub_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_UpdateHub_sync", + "file": "networkconnectivity_v1_generated_hub_service_update_hub_sync.py", + "regionTag": "networkconnectivity_v1_generated_HubService_UpdateHub_sync", "segments": [ { "end": 47, @@ -811,8 +811,8 @@ "shortName": "UpdateSpoke" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_update_spoke_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_UpdateSpoke_async", + "file": "networkconnectivity_v1_generated_hub_service_update_spoke_async.py", + "regionTag": "networkconnectivity_v1_generated_HubService_UpdateSpoke_async", "segments": [ { "end": 47, @@ -855,8 +855,8 @@ "shortName": "UpdateSpoke" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1_hub_service_update_spoke_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1_HubService_UpdateSpoke_sync", + "file": "networkconnectivity_v1_generated_hub_service_update_spoke_sync.py", + "regionTag": "networkconnectivity_v1_generated_HubService_UpdateSpoke_sync", "segments": [ { "end": 47, diff --git a/samples/generated_samples/snippet_metadata_networkconnectivity_v1alpha1.json b/samples/generated_samples/snippet_metadata_networkconnectivity_v1alpha1.json index e99d536..38434ab 100644 --- a/samples/generated_samples/snippet_metadata_networkconnectivity_v1alpha1.json +++ b/samples/generated_samples/snippet_metadata_networkconnectivity_v1alpha1.json @@ -10,8 +10,8 @@ "shortName": "CreateHub" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_create_hub_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_CreateHub_async", + "file": "networkconnectivity_v1alpha1_generated_hub_service_create_hub_async.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_CreateHub_async", "segments": [ { "end": 48, @@ -54,8 +54,8 @@ "shortName": "CreateHub" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_create_hub_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_CreateHub_sync", + "file": "networkconnectivity_v1alpha1_generated_hub_service_create_hub_sync.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_CreateHub_sync", "segments": [ { "end": 48, @@ -99,8 +99,8 @@ "shortName": "CreateSpoke" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_create_spoke_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_CreateSpoke_async", + "file": "networkconnectivity_v1alpha1_generated_hub_service_create_spoke_async.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_CreateSpoke_async", "segments": [ { "end": 48, @@ -143,8 +143,8 @@ "shortName": "CreateSpoke" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_create_spoke_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_CreateSpoke_sync", + "file": "networkconnectivity_v1alpha1_generated_hub_service_create_spoke_sync.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_CreateSpoke_sync", "segments": [ { "end": 48, @@ -188,8 +188,8 @@ "shortName": "DeleteHub" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_delete_hub_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_DeleteHub_async", + "file": "networkconnectivity_v1alpha1_generated_hub_service_delete_hub_async.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_DeleteHub_async", "segments": [ { "end": 48, @@ -232,8 +232,8 @@ "shortName": "DeleteHub" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_delete_hub_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_DeleteHub_sync", + "file": "networkconnectivity_v1alpha1_generated_hub_service_delete_hub_sync.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_DeleteHub_sync", "segments": [ { "end": 48, @@ -277,8 +277,8 @@ "shortName": "DeleteSpoke" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_delete_spoke_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_DeleteSpoke_async", + "file": "networkconnectivity_v1alpha1_generated_hub_service_delete_spoke_async.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_DeleteSpoke_async", "segments": [ { "end": 48, @@ -321,8 +321,8 @@ "shortName": "DeleteSpoke" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_delete_spoke_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_DeleteSpoke_sync", + "file": "networkconnectivity_v1alpha1_generated_hub_service_delete_spoke_sync.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_DeleteSpoke_sync", "segments": [ { "end": 48, @@ -366,8 +366,8 @@ "shortName": "GetHub" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_get_hub_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_GetHub_async", + "file": "networkconnectivity_v1alpha1_generated_hub_service_get_hub_async.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_GetHub_async", "segments": [ { "end": 44, @@ -410,8 +410,8 @@ "shortName": "GetHub" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_get_hub_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_GetHub_sync", + "file": "networkconnectivity_v1alpha1_generated_hub_service_get_hub_sync.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_GetHub_sync", "segments": [ { "end": 44, @@ -455,8 +455,8 @@ "shortName": "GetSpoke" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_get_spoke_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_GetSpoke_async", + "file": "networkconnectivity_v1alpha1_generated_hub_service_get_spoke_async.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_GetSpoke_async", "segments": [ { "end": 44, @@ -499,8 +499,8 @@ "shortName": "GetSpoke" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_get_spoke_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_GetSpoke_sync", + "file": "networkconnectivity_v1alpha1_generated_hub_service_get_spoke_sync.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_GetSpoke_sync", "segments": [ { "end": 44, @@ -544,8 +544,8 @@ "shortName": "ListHubs" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_list_hubs_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_ListHubs_async", + "file": "networkconnectivity_v1alpha1_generated_hub_service_list_hubs_async.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_ListHubs_async", "segments": [ { "end": 45, @@ -588,8 +588,8 @@ "shortName": "ListHubs" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_list_hubs_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_ListHubs_sync", + "file": "networkconnectivity_v1alpha1_generated_hub_service_list_hubs_sync.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_ListHubs_sync", "segments": [ { "end": 45, @@ -633,8 +633,8 @@ "shortName": "ListSpokes" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_list_spokes_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_ListSpokes_async", + "file": "networkconnectivity_v1alpha1_generated_hub_service_list_spokes_async.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_ListSpokes_async", "segments": [ { "end": 45, @@ -677,8 +677,8 @@ "shortName": "ListSpokes" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_list_spokes_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_ListSpokes_sync", + "file": "networkconnectivity_v1alpha1_generated_hub_service_list_spokes_sync.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_ListSpokes_sync", "segments": [ { "end": 45, @@ -722,8 +722,8 @@ "shortName": "UpdateHub" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_update_hub_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_UpdateHub_async", + "file": "networkconnectivity_v1alpha1_generated_hub_service_update_hub_async.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_UpdateHub_async", "segments": [ { "end": 47, @@ -766,8 +766,8 @@ "shortName": "UpdateHub" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_update_hub_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_UpdateHub_sync", + "file": "networkconnectivity_v1alpha1_generated_hub_service_update_hub_sync.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_UpdateHub_sync", "segments": [ { "end": 47, @@ -811,8 +811,8 @@ "shortName": "UpdateSpoke" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_update_spoke_async.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_UpdateSpoke_async", + "file": "networkconnectivity_v1alpha1_generated_hub_service_update_spoke_async.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_UpdateSpoke_async", "segments": [ { "end": 47, @@ -855,8 +855,8 @@ "shortName": "UpdateSpoke" } }, - "file": "networkconnectivity_generated_networkconnectivity_v1alpha1_hub_service_update_spoke_sync.py", - "regionTag": "networkconnectivity_generated_networkconnectivity_v1alpha1_HubService_UpdateSpoke_sync", + "file": "networkconnectivity_v1alpha1_generated_hub_service_update_spoke_sync.py", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_UpdateSpoke_sync", "segments": [ { "end": 47, diff --git a/scripts/fixup_networkconnectivity_v1_keywords.py b/scripts/fixup_networkconnectivity_v1_keywords.py index 7cc2a79..6c70c76 100644 --- a/scripts/fixup_networkconnectivity_v1_keywords.py +++ b/scripts/fixup_networkconnectivity_v1_keywords.py @@ -1,6 +1,6 @@ #! /usr/bin/env python3 # -*- 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. diff --git a/scripts/fixup_networkconnectivity_v1alpha1_keywords.py b/scripts/fixup_networkconnectivity_v1alpha1_keywords.py index 067b307..3571268 100644 --- a/scripts/fixup_networkconnectivity_v1alpha1_keywords.py +++ b/scripts/fixup_networkconnectivity_v1alpha1_keywords.py @@ -1,6 +1,6 @@ #! /usr/bin/env python3 # -*- 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. diff --git a/setup.py b/setup.py index 035b00f..3efd82e 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ import os import setuptools # type: ignore -version = "1.3.0" +version = "1.3.1" package_root = os.path.abspath(os.path.dirname(__file__)) @@ -47,8 +47,8 @@ # NOTE: Maintainers, please do not require google-api-core>=2.x.x # Until this issue is closed # https://github.com/googleapis/google-cloud-python/issues/10566 - "google-api-core[grpc] >= 1.28.0, <3.0.0dev", - "proto-plus >= 1.4.0", + "google-api-core[grpc] >= 1.31.5, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0", + "proto-plus >= 1.15.0", ), python_requires=">=3.6", classifiers=[ diff --git a/testing/constraints-3.6.txt b/testing/constraints-3.6.txt index 8fad4fc..fe87928 100644 --- a/testing/constraints-3.6.txt +++ b/testing/constraints-3.6.txt @@ -19,5 +19,5 @@ # # e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev", # Then this file should have foo==1.14.0 -google-api-core==1.28.0 -proto-plus==1.4.0 +google-api-core==1.31.5 +proto-plus==1.15.0 diff --git a/tests/__init__.py b/tests/__init__.py index 4de6597..e8e1c38 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/tests/unit/__init__.py b/tests/unit/__init__.py index 4de6597..e8e1c38 100644 --- a/tests/unit/__init__.py +++ b/tests/unit/__init__.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/tests/unit/gapic/__init__.py b/tests/unit/gapic/__init__.py index 4de6597..e8e1c38 100644 --- a/tests/unit/gapic/__init__.py +++ b/tests/unit/gapic/__init__.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/tests/unit/gapic/networkconnectivity_v1/__init__.py b/tests/unit/gapic/networkconnectivity_v1/__init__.py index 4de6597..e8e1c38 100644 --- a/tests/unit/gapic/networkconnectivity_v1/__init__.py +++ b/tests/unit/gapic/networkconnectivity_v1/__init__.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/tests/unit/gapic/networkconnectivity_v1/test_hub_service.py b/tests/unit/gapic/networkconnectivity_v1/test_hub_service.py index ac427b2..a06a267 100644 --- a/tests/unit/gapic/networkconnectivity_v1/test_hub_service.py +++ b/tests/unit/gapic/networkconnectivity_v1/test_hub_service.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/tests/unit/gapic/networkconnectivity_v1alpha1/__init__.py b/tests/unit/gapic/networkconnectivity_v1alpha1/__init__.py index 4de6597..e8e1c38 100644 --- a/tests/unit/gapic/networkconnectivity_v1alpha1/__init__.py +++ b/tests/unit/gapic/networkconnectivity_v1alpha1/__init__.py @@ -1,5 +1,5 @@ # -*- 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. diff --git a/tests/unit/gapic/networkconnectivity_v1alpha1/test_hub_service.py b/tests/unit/gapic/networkconnectivity_v1alpha1/test_hub_service.py index f8b2715..b8dc9b3 100644 --- a/tests/unit/gapic/networkconnectivity_v1alpha1/test_hub_service.py +++ b/tests/unit/gapic/networkconnectivity_v1alpha1/test_hub_service.py @@ -1,5 +1,5 @@ # -*- 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.