GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(monitoring): add `monitoring.v3.InternalChecker.state`; add `monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption`; add `recursive` parameter to `delete_group`; add read-only `validity` field to `monitoring.v3.AlertPolicy`; add `validate_ssl` parameter to `monitoring.v3.UptimeCheckConfig.HttpCheck` by yoshi-automation · Pull Request #9546 · googleapis/google-cloud-python

Conversation

@yoshi-automation

@yoshi-automation yoshi-automation commented Oct 26, 2019 •
edited by busunkim96
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

This PR was generated using Autosynth. 🌈

Summary of changes:

  • Add monitoring.v3.InternalChecker.state
  • Add monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption
  • Add recursive parameter to delete_group
  • Add read-only validity field to monitoring.v3.AlertPolicy
  • Add validate_ssl parameter to monitoring.v3.UptimeCheckConfig.HttpCheck

Here's the log from Synthtool:

synthtool > Executing /tmpfs/src/git/autosynth/working_repo/monitoring/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:c805f50525f5f557886c94ab76f56eaa09cb1da58c3ee95111fd34259376621a
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/monitoring/artman_monitoring.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/monitoring-v3.
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/monitoring/v3/group_service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/monitoring-v3/google/cloud/monitoring_v3/proto/group_service.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/monitoring/v3/metric.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/monitoring-v3/google/cloud/monitoring_v3/proto/metric.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/monitoring/v3/alert_service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/monitoring-v3/google/cloud/monitoring_v3/proto/alert_service.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/monitoring/v3/dropped_labels.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/monitoring-v3/google/cloud/monitoring_v3/proto/dropped_labels.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/monitoring/v3/group.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/monitoring-v3/google/cloud/monitoring_v3/proto/group.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/monitoring/v3/common.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/monitoring-v3/google/cloud/monitoring_v3/proto/common.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/monitoring/v3/notification.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/monitoring-v3/google/cloud/monitoring_v3/proto/notification.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/monitoring/v3/metric_service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/monitoring-v3/google/cloud/monitoring_v3/proto/metric_service.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/monitoring/v3/alert.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/monitoring-v3/google/cloud/monitoring_v3/proto/alert.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/monitoring/v3/uptime_service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/monitoring-v3/google/cloud/monitoring_v3/proto/uptime_service.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/monitoring/v3/mutation_record.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/monitoring-v3/google/cloud/monitoring_v3/proto/mutation_record.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/monitoring/v3/uptime.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/monitoring-v3/google/cloud/monitoring_v3/proto/uptime.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/monitoring/v3/span_context.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/monitoring-v3/google/cloud/monitoring_v3/proto/span_context.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/monitoring/v3/notification_service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/monitoring-v3/google/cloud/monitoring_v3/proto/notification_service.proto
synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/monitoring-v3/google/cloud/monitoring_v3/proto.
synthtool > Replaced 'def .*\\(([^\\)]+)\n.*metadata=None\\):\n\\s+"""(.*\n)*?\\s+"""\n' in google/cloud/monitoring_v3/gapic/metric_service_client.py.
synthtool > Replaced 'def .*\\(([^\\)]+)\n.*metadata=None\\):\n\\s+"""(.*\n)*?\\s+"""\n' in google/cloud/monitoring_v3/gapic/alert_policy_service_client.py.
synthtool > Replaced 'def .*\\(([^\\)]+)\n.*metadata=None\\):\n\\s+"""(.*\n)*?\\s+"""\n' in google/cloud/monitoring_v3/gapic/uptime_check_service_client.py.
synthtool > Replaced 'def .*\\(([^\\)]+)\n.*metadata=None\\):\n\\s+"""(.*\n)*?\\s+"""\n' in google/cloud/monitoring_v3/gapic/notification_channel_service_client.py.
synthtool > Replaced 'def .*\\(([^\\)]+)\n.*metadata=None\\):\n\\s+"""(.*\n)*?\\s+"""\n' in google/cloud/monitoring_v3/gapic/group_service_client.py.
synthtool > Replaced '(^.*$\\n)*' in google/cloud/monitoring_v3/proto/common_pb2.py.
synthtool > No replacements made in google/cloud/monitoring_v3/gapic/alert_policy_service_client.py for pattern then a new `\[CONDITION_ID\]` is created.
, maybe replacement is not longer needed?
synthtool > Replaced '                ::\n\n' in google/cloud/monitoring_v3/gapic/alert_policy_service_client.py.
synthtool > Replaced '^(\\s+)have an ``id`` label:  ::      resource.type =\n.*' in google/cloud/monitoring_v3/proto/metric_service_pb2.py.
synthtool > Replaced 'from google.cloud.monitoring_v3.gapic import notification_channel_service_client\n' in google/cloud/monitoring_v3/__init__.py.
synthtool > Replaced 'notification_channel_service_client.NotificationChannelServiceClient' in google/cloud/monitoring_v3/__init__.py.
.coveragerc
.flake8
MANIFEST.in
noxfile.py.j2
setup.cfg
Running session blacken
Creating virtual environment (virtualenv) using python3.6 in .nox/blacken
pip install black
black google tests docs
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/gapic/alert_policy_service_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/docs/conf.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/gapic/group_service_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/gapic/enums.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/gapic/metric_service_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/gapic/alert_policy_service_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/gapic/notification_channel_service_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/gapic/group_service_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/gapic/transports/alert_policy_service_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/gapic/transports/group_service_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/gapic/transports/metric_service_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/gapic/transports/uptime_check_service_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/gapic/transports/notification_channel_service_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/gapic/metric_service_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/gapic/uptime_check_service_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/alert_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/gapic/notification_channel_service_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/alert_service_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/gapic/uptime_check_service_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/common_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/dropped_labels_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/dropped_labels_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/alert_service_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/group_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/group_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/group_service_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/common_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/metric_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/alert_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/metric_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/mutation_record_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/mutation_record_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/metric_service_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/notification_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/group_service_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/notification_service_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/notification_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/span_context_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/span_context_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/uptime_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/metric_service_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/notification_service_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/uptime_service_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/types.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/uptime_service_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/tests/system/gapic/v3/test_system_metric_service_v3.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/tests/unit/gapic/v3/test_alert_policy_service_client_v3.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/tests/unit/gapic/v3/test_group_service_client_v3.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/uptime_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/tests/unit/gapic/v3/test_uptime_check_service_client_v3.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/tests/unit/gapic/v3/test_metric_service_client_v3.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/tests/unit/gapic/v3/test_notification_channel_service_client_v3.py
All done! ✨ 🍰 ✨
56 files reformatted, 9 files left unchanged.
Session blacken was successful.
synthtool > Cleaned up 2 temporary directories.
synthtool > Wrote metadata to synth.metadata.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@yoshi-automation
[CHANGE ME] Re-generated monitoring to pick up changes in the API or …
20efbfa
…client library generator.
@yoshi-automation
yoshi-automation requested a review from busunkim96 as a code owner October 26, 2019 12:27
@yoshi-automation yoshi-automation added the api: monitoring Issues related to the Cloud Monitoring API. label Oct 26, 2019
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 26, 2019
@tseaver tseaver added the codegen label Oct 28, 2019
@tseaver

tseaver commented Oct 29, 2019

Copy link
Copy Markdown
Contributor

@busunkim96 This is once again hard to evaluate without any context for the change to the protos.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

busunkim96
busunkim96 approved these changes Nov 13, 2019
View reviewed changes
Comment thread monitoring/google/cloud/monitoring_v3/gapic/enums.py
AND_WITH_MATCHING_RESOURCE = 3


class InternalChecker(object):

@busunkim96 busunkim96 Nov 13, 2019

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add internal checker

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread monitoring/google/cloud/monitoring_v3/gapic/enums.py
VERIFIED = 2


class UptimeCheckConfig(object):

@busunkim96 busunkim96 Nov 13, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread monitoring/google/cloud/monitoring_v3/gapic/group_service_client.py
Args:
name (str): The group to delete. The format is
``"projects/{project_id_or_number}/groups/{group_id}"``.
recursive (bool): If this field is true, then the request means to delete a group with all

@busunkim96 busunkim96 Nov 13, 2019

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add recursive option to delete_group

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread monitoring/google/cloud/monitoring_v3/gapic/metric_service_client.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread monitoring/google/cloud/monitoring_v3/proto/uptime_pb2.py
necessary the same as the workspace project.
The GCP project ID where the internal checker lives. Not
necessary the same as the Workspace project.
state:

@busunkim96 busunkim96 Nov 13, 2019

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add state to monitoring.v3.InternalChcker

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread monitoring/google/cloud/monitoring_v3/proto/alert_pb2.py
if it has not been populated. The field should always be
populated on List and Get operations, unless a field
projection has been specified that strips it out.
validity:

@busunkim96 busunkim96 Nov 13, 2019

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add read-only validity field to monitoring.v3.AlertPolicy

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread monitoring/google/cloud/monitoring_v3/proto/uptime_pb2.py
Entering two separate headers with the same key in a Create
call will cause the first to be overwritten by the second. The
maximum number of headers allowed is 100.
validate_ssl:

@busunkim96 busunkim96 Nov 13, 2019

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add validate_ssl parameter to monitoring.v3.UptimeCheckConfig.HttpCheck

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@busunkim96 busunkim96 changed the title [CHANGE ME] Re-generated monitoring to pick up changes in the API or client library generator. feat(monitoring): add monitoring.v3.InternalChecker.state; add monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption; add recursive parameter to delete_group; add read-only validity field to monitoring.v3.AlertPolicy; add validate_ssl parameter to monitoring.v3.UptimeCheckConfig.HttpCheck Nov 13, 2019
@busunkim96
busunkim96 merged commit aef2210 into master Nov 13, 2019
This was referenced Jan 29, 2020
chore(bigquery): bump copyright year to 2020, tweak docstring formatting (via synth) #10225
Merged
[CHANGE ME] Re-generated container to pick up changes in the API or client library generator. #10256
Closed
[CHANGE ME] Re-generated datastore to pick up changes in the API or client library generator. #10261
Closed
parthea pushed a commit that referenced this pull request Oct 21, 2023
@yoshi-automation @busunkim96
feat(monitoring): add monitoring.v3.InternalChecker.state; add `mon…
f582ee9
…itoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption`; add `recursive` parameter to `delete_group`; add read-only `validity` field to `monitoring.v3.AlertPolicy`; add `validate_ssl` parameter to `monitoring.v3.UptimeCheckConfig.HttpCheck` (#9546)

* Add `monitoring.v3.InternalChecker.state`
* Add `monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption`
* Add `recursive` parameter to `delete_group`
* Add read-only `validity` field to `monitoring.v3.AlertPolicy`
* Add `validate_ssl` parameter to `monitoring.v3.UptimeCheckConfig.HttpCheck`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@busunkim96 busunkim96 busunkim96 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: monitoring Issues related to the Cloud Monitoring API. cla: yes This human has signed the Contributor License Agreement. codegen

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@yoshi-automation @tseaver @busunkim96 @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.