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

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/python-network-connectivity
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.4.4
Choose a base ref
...
head repository: googleapis/python-network-connectivity
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.5.0
Choose a head ref
  • 5 commits
  • 98 files changed
  • 4 contributors

Commits on Nov 8, 2022

  1. chore(python): update dependencies in .kokoro/requirements.txt [autoa…

    …pprove] (#217)
    
    Source-Link: https://togithub.com/googleapis/synthtool/commit/e3a1277ac35fc88c09db1930533e24292b132ced
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:452901c74a22f9b9a3bd02bce780b8e8805c97270d424684bff809ce5be8c2a2
    gcf-owl-bot[bot] authored Nov 8, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e97dafe View commit details

Commits on Nov 18, 2022

  1. chore(python): update release script dependencies [autoapprove] (#219)

    Source-Link: https://togithub.com/googleapis/synthtool/commit/25083af347468dd5f90f69627420f7d452b6c50e
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:e6cbd61f1838d9ff6a31436dfc13717f372a7482a82fc1863ca954ec47bff8c8
    gcf-owl-bot[bot] authored Nov 18, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    77349f1 View commit details

Commits on Dec 8, 2022

  1. build(deps): bump certifi from 2022.9.24 to 2022.12.7 [autoapprove] (#…

    …220)
    
    Source-Link: https://togithub.com/googleapis/synthtool/commit/b4fe62efb5114b6738ad4b13d6f654f2bf4b7cc0
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:3bf87e47c2173d7eed42714589dc4da2c07c3268610f1e47f8e1a30decbfc7f1
    gcf-owl-bot[bot] authored Dec 8, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3938c5a View commit details
  2. fix(deps): Require google-api-core >=1.34.0, >=2.11.0 (#216)

    * chore: update to gapic-generator-python 1.5.0
    
    feat: add support for `google.cloud.<api>.__version__`
    PiperOrigin-RevId: 484665853
    
    Source-Link: googleapis/googleapis@8eb249a
    
    Source-Link: https://github.com/googleapis/googleapis-gen/commit/c8aa327b5f478865fc3fd91e3c2768e54e26ad44
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzhhYTMyN2I1ZjQ3ODg2NWZjM2ZkOTFlM2MyNzY4ZTU0ZTI2YWQ0NCJ9
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * feat: add policy based routing" will work
    
    PiperOrigin-RevId: 485359269
    
    Source-Link: googleapis/googleapis@016f3a2
    
    Source-Link: https://github.com/googleapis/googleapis-gen/commit/c28193b4648aca3adcd69128dc73609e4d8860a8
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzI4MTkzYjQ2NDhhY2EzYWRjZDY5MTI4ZGM3MzYwOWU0ZDg4NjBhOCJ9
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * update version in gapic_version.py
    
    * add .release-please-manifest.json with correct version
    
    * add owlbot.py to exclude generated gapic_version.py
    
    * set manifest to true in .github/release-please.yml
    
    * add release-please-config.json
    
    * chore: Update to gapic-generator-python 1.6.0
    
    feat(python): Add typing to proto.Message based class attributes
    
    feat(python): Snippetgen handling of repeated enum field
    
    PiperOrigin-RevId: 487326846
    
    Source-Link: googleapis/googleapis@da380c7
    
    Source-Link: https://github.com/googleapis/googleapis-gen/commit/61ef5762ee6731a0cbbfea22fd0eecee51ab1c8e
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjFlZjU3NjJlZTY3MzFhMGNiYmZlYTIyZmQwZWVjZWU1MWFiMWM4ZSJ9
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * feat: new APIs added to reflect updates to the filestore service
    
    - Add ENTERPRISE Tier
    - Add snapshot APIs: RevertInstance, ListSnapshots, CreateSnapshot, DeleteSnapshot, UpdateSnapshot
    - Add multi-share APIs: ListShares, GetShare, CreateShare, DeleteShare, UpdateShare
    - Add ConnectMode to NetworkConfig (for Private Service Access support)
    - New status codes (SUSPENDED/SUSPENDING, REVERTING/RESUMING)
    - Add SuspensionReason (for KMS related suspension)
    - Add new fields to Instance information: max_capacity_gb, capacity_step_size_gb, max_share_count, capacity_gb, multi_share_enabled
    
    PiperOrigin-RevId: 487492758
    
    Source-Link: googleapis/googleapis@5be5981
    
    Source-Link: https://github.com/googleapis/googleapis-gen/commit/ab0e217f560cc2c1afc11441c2eab6b6950efd2b
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWIwZTIxN2Y1NjBjYzJjMWFmYzExNDQxYzJlYWI2YjY5NTBlZmQyYiJ9
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * update path to snippet metadata json
    
    * chore: Update gapic-generator-python to v1.6.1
    
    PiperOrigin-RevId: 488036204
    
    Source-Link: googleapis/googleapis@08f275f
    
    Source-Link: https://github.com/googleapis/googleapis-gen/commit/555c0945e60649e38739ae64bc45719cdf72178f
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTU1YzA5NDVlNjA2NDllMzg3MzlhZTY0YmM0NTcxOWNkZjcyMTc4ZiJ9
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * chore(python): fix warehouse-package-name for networkconnectivity v1
    
    PiperOrigin-RevId: 491376026
    
    Source-Link: googleapis/googleapis@6defef8
    
    Source-Link: https://github.com/googleapis/googleapis-gen/commit/29e56f0c89575969f9df6dfddc52e66449631354
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjllNTZmMGM4OTU3NTk2OWY5ZGY2ZGZkZGM1MmU2NjQ0OTYzMTM1NCJ9
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * fix(deps): Require google-api-core >=1.34.0, >=2.11.0
    
    fix: Drop usage of pkg_resources
    
    fix: Fix timeout default values
    
    docs(samples): Snippetgen should call await on the operation coroutine before calling result
    
    PiperOrigin-RevId: 493260409
    
    Source-Link: googleapis/googleapis@fea4387
    
    Source-Link: https://github.com/googleapis/googleapis-gen/commit/387b7344c7529ee44be84e613b19a820508c612b
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzg3YjczNDRjNzUyOWVlNDRiZTg0ZTYxM2IxOWE4MjA1MDhjNjEyYiJ9
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * add gapic_version.py
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    3 people authored Dec 8, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    bb5fdce View commit details
  3. chore(main): release 1.5.0 (#221)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored Dec 8, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    86767b4 View commit details
Showing with 8,551 additions and 840 deletions.
  1. +0 −5 .coveragerc
  2. +1 −1 .github/.OwlBot.lock.yaml
  3. +1 −0 .github/release-please.yml
  4. +2 −2 .github/workflows/docs.yml
  5. +1 −1 .github/workflows/lint.yml
  6. +1 −1 .github/workflows/unittest.yml
  7. +6 −6 .kokoro/docker/docs/Dockerfile
  8. +3 −1 .kokoro/requirements.in
  9. +193 −161 .kokoro/requirements.txt
  10. +1 −1 .pre-commit-config.yaml
  11. +3 −0 .release-please-manifest.json
  12. +23 −0 CHANGELOG.md
  13. +10 −0 docs/networkconnectivity_v1/policy_based_routing_service.rst
  14. +1 −0 docs/networkconnectivity_v1/services.rst
  15. +0 −1 docs/networkconnectivity_v1/types.rst
  16. +0 −1 docs/networkconnectivity_v1alpha1/types.rst
  17. +26 −0 google/cloud/networkconnectivity/__init__.py
  18. +16 −0 google/cloud/networkconnectivity/gapic_version.py
  19. +1 −1 google/cloud/networkconnectivity/py.typed
  20. +24 −0 google/cloud/networkconnectivity_v1/__init__.py
  21. +54 −0 google/cloud/networkconnectivity_v1/gapic_metadata.json
  22. +16 −0 google/cloud/networkconnectivity_v1/gapic_version.py
  23. +1 −1 google/cloud/networkconnectivity_v1/py.typed
  24. +122 −109 google/cloud/networkconnectivity_v1/services/hub_service/async_client.py
  25. +110 −95 google/cloud/networkconnectivity_v1/services/hub_service/client.py
  26. +5 −10 google/cloud/networkconnectivity_v1/services/hub_service/transports/base.py
  27. +26 −23 google/cloud/networkconnectivity_v1/services/hub_service/transports/grpc.py
  28. +24 −21 google/cloud/networkconnectivity_v1/services/hub_service/transports/grpc_asyncio.py
  29. +22 −0 google/cloud/networkconnectivity_v1/services/policy_based_routing_service/__init__.py
  30. +754 −0 google/cloud/networkconnectivity_v1/services/policy_based_routing_service/async_client.py
  31. +996 −0 google/cloud/networkconnectivity_v1/services/policy_based_routing_service/client.py
  32. +159 −0 google/cloud/networkconnectivity_v1/services/policy_based_routing_service/pagers.py
  33. +34 −0 google/cloud/networkconnectivity_v1/services/policy_based_routing_service/transports/__init__.py
  34. +209 −0 google/cloud/networkconnectivity_v1/services/policy_based_routing_service/transports/base.py
  35. +373 −0 google/cloud/networkconnectivity_v1/services/policy_based_routing_service/transports/grpc.py
  36. +376 −0 google/cloud/networkconnectivity_v1/services/policy_based_routing_service/transports/grpc_asyncio.py
  37. +14 −0 google/cloud/networkconnectivity_v1/types/__init__.py
  38. +9 −7 google/cloud/networkconnectivity_v1/types/common.py
  39. +119 −95 google/cloud/networkconnectivity_v1/types/hub.py
  40. +476 −0 google/cloud/networkconnectivity_v1/types/policy_based_routing.py
  41. +4 −0 google/cloud/networkconnectivity_v1alpha1/__init__.py
  42. +16 −0 google/cloud/networkconnectivity_v1alpha1/gapic_version.py
  43. +70 −64 google/cloud/networkconnectivity_v1alpha1/services/hub_service/async_client.py
  44. +58 −50 google/cloud/networkconnectivity_v1alpha1/services/hub_service/client.py
  45. +5 −10 google/cloud/networkconnectivity_v1alpha1/services/hub_service/transports/base.py
  46. +10 −10 google/cloud/networkconnectivity_v1alpha1/services/hub_service/transports/grpc.py
  47. +8 −8 google/cloud/networkconnectivity_v1alpha1/services/hub_service/transports/grpc_asyncio.py
  48. +9 −7 google/cloud/networkconnectivity_v1alpha1/types/common.py
  49. +72 −68 google/cloud/networkconnectivity_v1alpha1/types/hub.py
  50. +11 −4 noxfile.py
  51. +56 −0 owlbot.py
  52. +30 −0 release-please-config.json
  53. +2 −2 samples/generated_samples/networkconnectivity_v1_generated_hub_service_create_hub_async.py
  54. +1 −1 samples/generated_samples/networkconnectivity_v1_generated_hub_service_create_hub_sync.py
  55. +2 −2 samples/generated_samples/networkconnectivity_v1_generated_hub_service_create_spoke_async.py
  56. +1 −1 samples/generated_samples/networkconnectivity_v1_generated_hub_service_create_spoke_sync.py
  57. +2 −2 samples/generated_samples/networkconnectivity_v1_generated_hub_service_delete_hub_async.py
  58. +1 −1 samples/generated_samples/networkconnectivity_v1_generated_hub_service_delete_hub_sync.py
  59. +2 −2 samples/generated_samples/networkconnectivity_v1_generated_hub_service_delete_spoke_async.py
  60. +1 −1 samples/generated_samples/networkconnectivity_v1_generated_hub_service_delete_spoke_sync.py
  61. +1 −1 samples/generated_samples/networkconnectivity_v1_generated_hub_service_get_hub_async.py
  62. +1 −1 samples/generated_samples/networkconnectivity_v1_generated_hub_service_get_hub_sync.py
  63. +1 −1 samples/generated_samples/networkconnectivity_v1_generated_hub_service_get_spoke_async.py
  64. +1 −1 samples/generated_samples/networkconnectivity_v1_generated_hub_service_get_spoke_sync.py
  65. +1 −1 samples/generated_samples/networkconnectivity_v1_generated_hub_service_list_hubs_async.py
  66. +1 −1 samples/generated_samples/networkconnectivity_v1_generated_hub_service_list_hubs_sync.py
  67. +1 −1 samples/generated_samples/networkconnectivity_v1_generated_hub_service_list_spokes_async.py
  68. +1 −1 samples/generated_samples/networkconnectivity_v1_generated_hub_service_list_spokes_sync.py
  69. +2 −2 samples/generated_samples/networkconnectivity_v1_generated_hub_service_update_hub_async.py
  70. +1 −1 samples/generated_samples/networkconnectivity_v1_generated_hub_service_update_hub_sync.py
  71. +2 −2 samples/generated_samples/networkconnectivity_v1_generated_hub_service_update_spoke_async.py
  72. +1 −1 samples/generated_samples/networkconnectivity_v1_generated_hub_service_update_spoke_sync.py
  73. +62 −0 .../networkconnectivity_v1_generated_policy_based_routing_service_create_policy_based_route_async.py
  74. +62 −0 ...s/networkconnectivity_v1_generated_policy_based_routing_service_create_policy_based_route_sync.py
  75. +56 −0 .../networkconnectivity_v1_generated_policy_based_routing_service_delete_policy_based_route_async.py
  76. +56 −0 ...s/networkconnectivity_v1_generated_policy_based_routing_service_delete_policy_based_route_sync.py
  77. +52 −0 ...les/networkconnectivity_v1_generated_policy_based_routing_service_get_policy_based_route_async.py
  78. +52 −0 ...ples/networkconnectivity_v1_generated_policy_based_routing_service_get_policy_based_route_sync.py
  79. +53 −0 ...s/networkconnectivity_v1_generated_policy_based_routing_service_list_policy_based_routes_async.py
  80. +53 −0 ...es/networkconnectivity_v1_generated_policy_based_routing_service_list_policy_based_routes_sync.py
  81. +1 −1 samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_create_hub_async.py
  82. +1 −1 samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_create_spoke_async.py
  83. +1 −1 samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_delete_hub_async.py
  84. +1 −1 samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_delete_spoke_async.py
  85. +1 −1 samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_update_hub_async.py
  86. +1 −1 samples/generated_samples/networkconnectivity_v1alpha1_generated_hub_service_update_spoke_async.py
  87. +662 −1 ...metadata_networkconnectivity_v1.json → snippet_metadata_google.cloud.networkconnectivity.v1.json}
  88. +2 −1 ...workconnectivity_v1alpha1.json → snippet_metadata_google.cloud.networkconnectivity.v1alpha1.json}
  89. +4 −0 scripts/fixup_networkconnectivity_v1_keywords.py
  90. +50 −23 setup.py
  91. +6 −0 testing/constraints-3.10.txt
  92. +6 −0 testing/constraints-3.11.txt
  93. +4 −19 testing/constraints-3.7.txt
  94. +6 −0 testing/constraints-3.8.txt
  95. +6 −0 testing/constraints-3.9.txt
  96. +1 −0 tests/unit/gapic/networkconnectivity_v1/test_hub_service.py
  97. +2,764 −0 tests/unit/gapic/networkconnectivity_v1/test_policy_based_routing_service.py
  98. +1 −0 tests/unit/gapic/networkconnectivity_v1alpha1/test_hub_service.py
5 changes: 0 additions & 5 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -10,8 +10,3 @@ exclude_lines =
pragma: NO COVER
# Ignore debug-only repr
def __repr__
# Ignore pkg_resources exceptions.
# This is added at the module level as a safeguard for if someone
# generates the code and tries to run it without pip installing. This
# makes it virtually impossible to test properly.
except pkg_resources.DistributionNotFound
2 changes: 1 addition & 1 deletion .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
@@ -13,4 +13,4 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
digest: sha256:7a40313731a7cb1454eef6b33d3446ebb121836738dc3ab3d2d3ded5268c35b6
digest: sha256:3bf87e47c2173d7eed42714589dc4da2c07c3268610f1e47f8e1a30decbfc7f1
1 change: 1 addition & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
releaseType: python
handleGHRelease: true
manifest: true
# NOTE: this section is generated by synthtool.languages.python
# See https://github.com/googleapis/synthtool/blob/master/synthtool/languages/python.py
branches:
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.9"
- name: Install nox
run: |
python -m pip install --upgrade setuptools pip wheel
@@ -28,7 +28,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.9"
- name: Install nox
run: |
python -m pip install --upgrade setuptools pip wheel
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.8"
- name: Install nox
run: |
python -m pip install --upgrade setuptools pip wheel
2 changes: 1 addition & 1 deletion .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.8"
- name: Install coverage
run: |
python -m pip install --upgrade setuptools pip wheel
12 changes: 6 additions & 6 deletions .kokoro/docker/docs/Dockerfile
Original file line number Diff line number Diff line change
@@ -60,16 +60,16 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/* \
&& rm -f /var/cache/apt/archives/*.deb

###################### Install python 3.8.11
###################### Install python 3.9.13

# Download python 3.8.11
RUN wget https://www.python.org/ftp/python/3.8.11/Python-3.8.11.tgz
# Download python 3.9.13
RUN wget https://www.python.org/ftp/python/3.9.13/Python-3.9.13.tgz

# Extract files
RUN tar -xvf Python-3.8.11.tgz
RUN tar -xvf Python-3.9.13.tgz

# Install python 3.8.11
RUN ./Python-3.8.11/configure --enable-optimizations
# Install python 3.9.13
RUN ./Python-3.9.13/configure --enable-optimizations
RUN make altinstall

###################### Install pip
4 changes: 3 additions & 1 deletion .kokoro/requirements.in
Original file line number Diff line number Diff line change
@@ -5,4 +5,6 @@ typing-extensions
twine
wheel
setuptools
nox
nox
charset-normalizer<3
click<8.1.0
Loading