Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(monitoring): un-deprecate resource name helpers, add 2.7 sunset warning; bump copyright year to 2020; use templated noxfile (via synth) #10047

Merged
merged 4 commits into from
Jan 30, 2020

Conversation

yoshi-automation
Copy link
Contributor

This PR was generated using Autosynth. 🌈

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:264654a37596a44b0668b8ce6ac41082d713f6ee150b3fc6425fa78cc64e4f20
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/service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/monitoring-v3/google/cloud/monitoring_v3/proto/service.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/monitoring/v3/service_service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/monitoring-v3/google/cloud/monitoring_v3/proto/service_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/service_monitoring_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/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/group_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 '(^.*$\\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
docs/_static/custom.css
docs/_templates/layout.html
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/service_monitoring_service_client_config.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/metric_service_client.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/notification_channel_service_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/gapic/transports/service_monitoring_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/notification_channel_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/service_monitoring_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/alert_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/metric_pb2.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/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/service_pb2_grpc.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/metric_service_pb2.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/span_context_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/service_service_pb2_grpc.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/service_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/tests/system/gapic/v3/test_system_metric_service_v3.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/unit/gapic/v3/test_alert_policy_service_client_v3.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/google/cloud/monitoring_v3/proto/service_pb2.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_metric_service_client_v3.py
reformatted /tmpfs/src/git/autosynth/working_repo/monitoring/tests/unit/gapic/v3/test_notification_channel_service_client_v3.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_service_monitoring_service_client_v3.py
All done! ✨ 🍰 ✨
64 files reformatted, 9 files left unchanged.
Session blacken was successful.
synthtool > Wrote metadata to synth.metadata.

@yoshi-automation yoshi-automation added the api: monitoring Issues related to the Cloud Monitoring API. label Jan 3, 2020
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 3, 2020
@busunkim96 busunkim96 changed the title [CHANGE ME] Re-generated monitoring to pick up changes in the API or client library generator. feat(monitoring): undeprecate resource name helpers, add 2.7 sunset warning (via synth) Jan 8, 2020
@busunkim96 busunkim96 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 8, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 8, 2020
@busunkim96 busunkim96 changed the title feat(monitoring): undeprecate resource name helpers, add 2.7 sunset warning (via synth) feat(monitoring): un-deprecate resource name helpers, add 2.7 sunset warning; bump copyright year to 2020; use templated noxfile (via synth) Jan 30, 2020
@busunkim96 busunkim96 merged commit 2a86088 into master Jan 30, 2020
This was referenced Jan 30, 2020
This was referenced Jan 30, 2020
parthea pushed a commit that referenced this pull request Oct 21, 2023
… warning; bump copyright year to 2020; use templated noxfile (via synth) (#10047)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: monitoring Issues related to the Cloud Monitoring API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants