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-monitoring-metrics-scopes
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.2.4
Choose a base ref
...
head repository: googleapis/python-monitoring-metrics-scopes
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.3.0
Choose a head ref
  • 6 commits
  • 45 files changed
  • 4 contributors

Commits on Nov 8, 2022

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

    …pprove] (#106)
    
    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
    a06cf29 View commit details

Commits on Nov 24, 2022

  1. chore(python): drop flake8-import-order in samples noxfile [autoappro…

    …ve] (#109)
    
    Source-Link: https://togithub.com/googleapis/synthtool/commit/6ed3a831cb9ff69ef8a504c353e098ec0192ad93
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:3abfa0f1886adaf0b83f07cb117b24a639ea1cb9cffe56d43280b977033563eb
    gcf-owl-bot[bot] authored Nov 24, 2022

    Verified

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

Commits on Nov 26, 2022

  1. chore(python): fix warehouse-package-name for google/monitoring/metri…

    …csscope/v1 (#105)
    
    * 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
    
    * 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
    
    * 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 google/monitoring/metricsscope/v1
    
    PiperOrigin-RevId: 490896705
    
    Source-Link: googleapis/googleapis@a0b7558
    
    Source-Link: https://github.com/googleapis/googleapis-gen/commit/970f5b59f4769cc1a76492b6babb4908cc1d7822
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTcwZjViNTlmNDc2OWNjMWE3NjQ5MmI2YmFiYjQ5MDhjYzFkNzgyMiJ9
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    3 people authored Nov 26, 2022

    Verified

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

Commits on Dec 8, 2022

  1. fix(deps): Require google-api-core >=1.34.0, >=2.11.0 (#111)

    * 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
    536fbb0 View commit details
  2. build(deps): bump certifi from 2022.9.24 to 2022.12.7 [autoapprove] (#…

    …112)
    
    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
    29e5772 View commit details

Commits on Dec 14, 2022

  1. chore(main): release 1.3.0 (#110)

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

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d9c916a View commit details
Showing with 582 additions and 323 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. +22 −0 CHANGELOG.md
  13. +0 −1 docs/monitoring_metrics_scope_v1/types.rst
  14. +4 −0 google/cloud/monitoring_metrics_scope/__init__.py
  15. +16 −0 google/cloud/monitoring_metrics_scope/gapic_version.py
  16. +1 −1 google/cloud/monitoring_metrics_scope/py.typed
  17. +4 −0 google/cloud/monitoring_metrics_scope_v1/__init__.py
  18. +16 −0 google/cloud/monitoring_metrics_scope_v1/gapic_version.py
  19. +1 −1 google/cloud/monitoring_metrics_scope_v1/py.typed
  20. +41 −31 google/cloud/monitoring_metrics_scope_v1/services/metrics_scopes/async_client.py
  21. +39 −27 google/cloud/monitoring_metrics_scope_v1/services/metrics_scopes/client.py
  22. +5 −10 google/cloud/monitoring_metrics_scope_v1/services/metrics_scopes/transports/base.py
  23. +10 −10 google/cloud/monitoring_metrics_scope_v1/services/metrics_scopes/transports/grpc.py
  24. +8 −8 google/cloud/monitoring_metrics_scope_v1/services/metrics_scopes/transports/grpc_asyncio.py
  25. +9 −7 google/cloud/monitoring_metrics_scope_v1/types/metrics_scope.py
  26. +12 −10 google/cloud/monitoring_metrics_scope_v1/types/metrics_scopes.py
  27. +11 −4 noxfile.py
  28. +56 −0 owlbot.py
  29. +24 −0 release-please-config.json
  30. +2 −2 samples/generated_samples/monitoring_v1_generated_metrics_scopes_create_monitored_project_async.py
  31. +1 −1 samples/generated_samples/monitoring_v1_generated_metrics_scopes_create_monitored_project_sync.py
  32. +2 −2 samples/generated_samples/monitoring_v1_generated_metrics_scopes_delete_monitored_project_async.py
  33. +1 −1 samples/generated_samples/monitoring_v1_generated_metrics_scopes_delete_monitored_project_sync.py
  34. +1 −1 samples/generated_samples/monitoring_v1_generated_metrics_scopes_get_metrics_scope_async.py
  35. +1 −1 samples/generated_samples/monitoring_v1_generated_metrics_scopes_get_metrics_scope_sync.py
  36. +1 −1 ..._samples/monitoring_v1_generated_metrics_scopes_list_metrics_scopes_by_monitored_project_async.py
  37. +1 −1 ...d_samples/monitoring_v1_generated_metrics_scopes_list_metrics_scopes_by_monitored_project_sync.py
  38. +2 −1 ...adata_monitoring metrics scope_v1.json → snippet_metadata_google.monitoring.metricsscope.v1.json}
  39. +50 −18 setup.py
  40. +6 −0 testing/constraints-3.10.txt
  41. +6 −0 testing/constraints-3.11.txt
  42. +4 −5 testing/constraints-3.7.txt
  43. +6 −0 testing/constraints-3.8.txt
  44. +6 −0 testing/constraints-3.9.txt
  45. +1 −0 tests/unit/gapic/monitoring_metrics_scope_v1/test_metrics_scopes.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