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.4.0
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.4.1
Choose a head ref
  • 2 commits
  • 7 files changed
  • 3 contributors

Commits on Jan 20, 2023

  1. docs: Add documentation for enums (#116)

    * docs: Add documentation for enums
    
    fix: Add context manager return types
    
    chore: Update gapic-generator-python to v1.8.1
    PiperOrigin-RevId: 503210727
    
    Source-Link: googleapis/googleapis@a391fd1
    
    Source-Link: https://github.com/googleapis/googleapis-gen/commit/0080f830dec37c3384157082bce279e37079ea58
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDA4MGY4MzBkZWMzN2MzMzg0MTU3MDgyYmNlMjc5ZTM3MDc5ZWE1OCJ9
    
    * 🦉 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>
    gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jan 20, 2023

    Verified

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

Commits on Jan 23, 2023

  1. chore(main): release 1.4.1 (#117)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored Jan 23, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9334e60 View commit details
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.4.0"
".": "1.4.1"
}
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## [1.4.1](https://github.com/googleapis/python-monitoring-metrics-scopes/compare/v1.4.0...v1.4.1) (2023-01-20)


### Bug Fixes

* Add context manager return types ([9ab51d9](https://github.com/googleapis/python-monitoring-metrics-scopes/commit/9ab51d99fe6cc3148a47ea5ae60ffa450f32dfe3))


### Documentation

* Add documentation for enums ([9ab51d9](https://github.com/googleapis/python-monitoring-metrics-scopes/commit/9ab51d99fe6cc3148a47ea5ae60ffa450f32dfe3))

## [1.4.0](https://github.com/googleapis/python-monitoring-metrics-scopes/compare/v1.3.0...v1.4.0) (2023-01-10)


2 changes: 1 addition & 1 deletion google/cloud/monitoring_metrics_scope/gapic_version.py
Original file line number Diff line number Diff line change
@@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.4.0" # {x-release-please-version}
__version__ = "1.4.1" # {x-release-please-version}
2 changes: 1 addition & 1 deletion google/cloud/monitoring_metrics_scope_v1/gapic_version.py
Original file line number Diff line number Diff line change
@@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.4.0" # {x-release-please-version}
__version__ = "1.4.1" # {x-release-please-version}
Original file line number Diff line number Diff line change
@@ -919,7 +919,7 @@ def sample_delete_monitored_project():
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "MetricsScopesClient":
return self

def __exit__(self, type, value, traceback):
15 changes: 14 additions & 1 deletion google/cloud/monitoring_metrics_scope_v1/types/metrics_scopes.py
Original file line number Diff line number Diff line change
@@ -144,7 +144,20 @@ class OperationMetadata(proto.Message):
"""

class State(proto.Enum):
r"""Batch operation states."""
r"""Batch operation states.
Values:
STATE_UNSPECIFIED (0):
Invalid.
CREATED (1):
Request has been received.
RUNNING (2):
Request is actively being processed.
DONE (3):
The batch processing is done.
CANCELLED (4):
The batch processing was cancelled.
"""
STATE_UNSPECIFIED = 0
CREATED = 1
RUNNING = 2
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-monitoring-metrics-scopes",
"version": "1.4.0"
"version": "1.4.1"
},
"snippets": [
{