From 80ce6e6128abf106ef7c3631a426f99440a406d9 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 28 Apr 2020 14:24:04 -0700 Subject: [PATCH] feat: add `security_marks_path` method; fix docstring links (via synth) (#24) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2020-04-21 06:26:12,360 synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py. On branch autosynth nothing to commit, working tree clean 2020-04-21 06:26:12,435 synthtool > Ensuring dependencies. 2020-04-21 06:26:12,439 synthtool > Pulling artman image. latest: Pulling from googleapis/artman Digest: sha256:b3b47805231a305d0f40c4bf069df20f6a2635574e6d4259fac651d3f9f6e098 Status: Image is up to date for googleapis/artman:latest 2020-04-21 06:26:14,136 synthtool > Cloning googleapis. 2020-04-21 06:26:14,802 synthtool > Running generator for google/cloud/securitycenter/artman_securitycenter_v1p1beta1.yaml. 2020-04-21 06:26:33,030 synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1p1beta1. 2020-04-21 06:26:33,031 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1p1beta1/notification_message.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1p1beta1/google/cloud/securitycenter_v1p1beta1/proto/notification_message.proto 2020-04-21 06:26:33,031 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1p1beta1/finding.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1p1beta1/google/cloud/securitycenter_v1p1beta1/proto/finding.proto 2020-04-21 06:26:33,031 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1p1beta1/asset.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1p1beta1/google/cloud/securitycenter_v1p1beta1/proto/asset.proto 2020-04-21 06:26:33,031 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1p1beta1/source.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1p1beta1/google/cloud/securitycenter_v1p1beta1/proto/source.proto 2020-04-21 06:26:33,032 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1p1beta1/google/cloud/securitycenter_v1p1beta1/proto/securitycenter_service.proto 2020-04-21 06:26:33,032 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1p1beta1/notification_config.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1p1beta1/google/cloud/securitycenter_v1p1beta1/proto/notification_config.proto 2020-04-21 06:26:33,032 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1p1beta1/organization_settings.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1p1beta1/google/cloud/securitycenter_v1p1beta1/proto/organization_settings.proto 2020-04-21 06:26:33,032 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1p1beta1/security_marks.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1p1beta1/google/cloud/securitycenter_v1p1beta1/proto/security_marks.proto 2020-04-21 06:26:33,032 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1p1beta1/run_asset_discovery_response.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1p1beta1/google/cloud/securitycenter_v1p1beta1/proto/run_asset_discovery_response.proto 2020-04-21 06:26:33,033 synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1p1beta1/google/cloud/securitycenter_v1p1beta1/proto. 2020-04-21 06:26:33,044 synthtool > Running generator for google/cloud/securitycenter/artman_securitycenter_v1beta1.yaml. 2020-04-21 06:26:50,689 synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1beta1. 2020-04-21 06:26:50,689 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1beta1/finding.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1beta1/google/cloud/securitycenter_v1beta1/proto/finding.proto 2020-04-21 06:26:50,690 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1beta1/asset.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1beta1/google/cloud/securitycenter_v1beta1/proto/asset.proto 2020-04-21 06:26:50,690 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1beta1/source.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1beta1/google/cloud/securitycenter_v1beta1/proto/source.proto 2020-04-21 06:26:50,690 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1beta1/securitycenter_service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1beta1/google/cloud/securitycenter_v1beta1/proto/securitycenter_service.proto 2020-04-21 06:26:50,690 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1beta1/organization_settings.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1beta1/google/cloud/securitycenter_v1beta1/proto/organization_settings.proto 2020-04-21 06:26:50,690 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1beta1/security_marks.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1beta1/google/cloud/securitycenter_v1beta1/proto/security_marks.proto 2020-04-21 06:26:50,691 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1beta1/run_asset_discovery_response.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1beta1/google/cloud/securitycenter_v1beta1/proto/run_asset_discovery_response.proto 2020-04-21 06:26:50,691 synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1beta1/google/cloud/securitycenter_v1beta1/proto. 2020-04-21 06:26:50,700 synthtool > Running generator for google/cloud/securitycenter/artman_securitycenter_v1.yaml. 2020-04-21 06:27:08,744 synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1. 2020-04-21 06:27:08,745 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1/notification_message.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1/google/cloud/securitycenter_v1/proto/notification_message.proto 2020-04-21 06:27:08,745 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1/finding.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1/google/cloud/securitycenter_v1/proto/finding.proto 2020-04-21 06:27:08,746 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1/asset.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1/google/cloud/securitycenter_v1/proto/asset.proto 2020-04-21 06:27:08,746 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1/source.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1/google/cloud/securitycenter_v1/proto/source.proto 2020-04-21 06:27:08,746 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1/securitycenter_service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1/google/cloud/securitycenter_v1/proto/securitycenter_service.proto 2020-04-21 06:27:08,746 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1/notification_config.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1/google/cloud/securitycenter_v1/proto/notification_config.proto 2020-04-21 06:27:08,747 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1/organization_settings.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1/google/cloud/securitycenter_v1/proto/organization_settings.proto 2020-04-21 06:27:08,747 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1/security_marks.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1/google/cloud/securitycenter_v1/proto/security_marks.proto 2020-04-21 06:27:08,747 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/securitycenter/v1/run_asset_discovery_response.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1/google/cloud/securitycenter_v1/proto/run_asset_discovery_response.proto 2020-04-21 06:27:08,747 synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/securitycenter-v1/google/cloud/securitycenter_v1/proto. .coveragerc .flake8 .github/CONTRIBUTING.md .github/ISSUE_TEMPLATE/bug_report.md .github/ISSUE_TEMPLATE/feature_request.md .github/ISSUE_TEMPLATE/support_request.md .github/PULL_REQUEST_TEMPLATE.md .github/release-please.yml .gitignore .kokoro/build.sh .kokoro/continuous/common.cfg .kokoro/continuous/continuous.cfg .kokoro/docs/common.cfg .kokoro/docs/docs.cfg .kokoro/presubmit/common.cfg .kokoro/presubmit/presubmit.cfg .kokoro/publish-docs.sh .kokoro/release.sh .kokoro/release/common.cfg .kokoro/release/release.cfg .kokoro/trampoline.sh CODE_OF_CONDUCT.md CONTRIBUTING.rst LICENSE MANIFEST.in docs/_static/custom.css docs/_templates/layout.html docs/conf.py.j2 noxfile.py.j2 renovate.json 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/docs/conf.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/__init__.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/gapic/enums.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/gapic/transports/security_center_grpc_transport.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/proto/asset_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/gapic/security_center_client_config.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/proto/finding_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/proto/notification_config_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/proto/notification_config_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/proto/notification_message_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/proto/notification_message_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/proto/finding_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/proto/organization_settings_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/proto/asset_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/proto/run_asset_discovery_response_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/proto/run_asset_discovery_response_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/proto/security_marks_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/proto/organization_settings_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/proto/security_marks_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/proto/source_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/proto/source_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/types.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/__init__.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/gapic/enums.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/gapic/security_center_client.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/proto/securitycenter_service_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/gapic/security_center_client_config.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/gapic/transports/security_center_grpc_transport.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/proto/asset_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/proto/finding_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/proto/finding_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/proto/asset_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/proto/organization_settings_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/proto/run_asset_discovery_response_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/proto/run_asset_discovery_response_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/proto/organization_settings_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/proto/security_marks_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/gapic/security_center_client.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/proto/security_marks_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/proto/source_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/proto/source_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/types.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/__init__.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/gapic/enums.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/proto/securitycenter_service_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/gapic/security_center_client_config.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/gapic/transports/security_center_grpc_transport.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/proto/asset_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/proto/asset_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/gapic/security_center_client.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/proto/finding_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/proto/finding_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/proto/notification_config_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/proto/notification_config_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/proto/notification_message_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/proto/notification_message_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/proto/organization_settings_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/proto/run_asset_discovery_response_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/proto/run_asset_discovery_response_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/proto/organization_settings_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/proto/security_marks_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/proto/security_marks_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1/proto/securitycenter_service_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/proto/source_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/proto/source_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/types.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1beta1/proto/securitycenter_service_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/proto/securitycenter_service_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/tests/unit/gapic/v1beta1/test_security_center_client_v1beta1.py reformatted /tmpfs/src/git/autosynth/working_repo/tests/unit/gapic/v1/test_security_center_client_v1.py reformatted /tmpfs/src/git/autosynth/working_repo/tests/unit/gapic/v1p1beta1/test_security_center_client_v1p1beta1.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/securitycenter_v1p1beta1/proto/securitycenter_service_pb2.py All done! ✨ 🍰 ✨ 73 files reformatted, 18 files left unchanged. Session blacken was successful. 2020-04-21 06:27:24,186 synthtool > Wrote metadata to synth.metadata. ```
--- .coveragerc | 16 +++++ .flake8 | 16 +++++ .github/ISSUE_TEMPLATE/bug_report.md | 3 +- CONTRIBUTING.rst | 15 +--- MANIFEST.in | 16 +++++ .../gapic/security_center_client.py | 9 +++ .../securitycenter_v1/proto/asset_pb2.py | 27 +++---- .../securitycenter_v1/proto/finding_pb2.py | 12 ++-- .../proto/notification_config_pb2.py | 14 ++-- .../proto/notification_message_pb2.py | 2 - .../proto/organization_settings_pb2.py | 8 +-- .../proto/run_asset_discovery_response_pb2.py | 2 - .../proto/security_marks_pb2.py | 10 ++- .../proto/securitycenter_service_pb2.py | 70 ++----------------- .../securitycenter_v1/proto/source_pb2.py | 10 ++- .../securitycenter_v1beta1/proto/asset_pb2.py | 19 ++--- .../proto/finding_pb2.py | 13 ++-- .../proto/organization_settings_pb2.py | 8 +-- .../proto/run_asset_discovery_response_pb2.py | 2 - .../proto/security_marks_pb2.py | 10 ++- .../proto/securitycenter_service_pb2.py | 50 +------------ .../proto/source_pb2.py | 8 +-- .../gapic/security_center_client.py | 9 +++ .../proto/asset.proto | 2 +- .../proto/asset_pb2.py | 31 ++++---- .../proto/finding_pb2.py | 13 ++-- .../proto/notification_config_pb2.py | 14 ++-- .../proto/notification_message_pb2.py | 2 - .../proto/organization_settings_pb2.py | 8 +-- .../proto/run_asset_discovery_response_pb2.py | 2 - .../proto/security_marks_pb2.py | 10 ++- .../proto/securitycenter_service_pb2.py | 70 ++----------------- .../proto/source_pb2.py | 10 ++- noxfile.py | 4 +- setup.cfg | 16 +++++ synth.metadata | 21 +++--- 36 files changed, 191 insertions(+), 361 deletions(-) diff --git a/.coveragerc b/.coveragerc index b178b094..dd39c854 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,3 +1,19 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Generated by synthtool. DO NOT EDIT! [run] branch = True diff --git a/.flake8 b/.flake8 index 0268ecc9..20fe9bda 100644 --- a/.flake8 +++ b/.flake8 @@ -1,3 +1,19 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Generated by synthtool. DO NOT EDIT! [flake8] ignore = E203, E266, E501, W503 diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 1e07c952..0adc3af7 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -11,8 +11,7 @@ Thanks for stopping by to let us know something could be better! Please run down the following list and make sure you've tried the usual "quick fixes": - Search the issues already opened: https://github.com/googleapis/python-securitycenter/issues - - Search the issues on our "catch-all" repository: https://github.com/googleapis/google-cloud-python - - Search StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform+python + - Search StackOverflow: https://stackoverflow.com/questions/tagged/google-cloud-platform+python If you are still having issues, please be sure to include as much information as possible: diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 8ce8e717..7f522a22 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -22,7 +22,7 @@ In order to add a feature: documentation. - The feature must work fully on the following CPython versions: 2.7, - 3.5, 3.6, and 3.7 on both UNIX and Windows. + 3.5, 3.6, 3.7 and 3.8 on both UNIX and Windows. - The feature must not add unnecessary dependencies (where "unnecessary" is of course subjective, but new dependencies should @@ -214,26 +214,18 @@ We support: - `Python 3.5`_ - `Python 3.6`_ - `Python 3.7`_ +- `Python 3.8`_ .. _Python 3.5: https://docs.python.org/3.5/ .. _Python 3.6: https://docs.python.org/3.6/ .. _Python 3.7: https://docs.python.org/3.7/ +.. _Python 3.8: https://docs.python.org/3.8/ Supported versions can be found in our ``noxfile.py`` `config`_. .. _config: https://github.com/googleapis/python-securitycenter/blob/master/noxfile.py -We explicitly decided not to support `Python 2.5`_ due to `decreased usage`_ -and lack of continuous integration `support`_. - -.. _Python 2.5: https://docs.python.org/2.5/ -.. _decreased usage: https://caremad.io/2013/10/a-look-at-pypi-downloads/ -.. _support: https://blog.travis-ci.com/2013-11-18-upcoming-build-environment-updates/ - -We have `dropped 2.6`_ as a supported version as well since Python 2.6 is no -longer supported by the core development team. - Python 2.7 support is deprecated. All code changes should maintain Python 2.7 compatibility until January 1, 2020. We also explicitly decided to support Python 3 beginning with version @@ -247,7 +239,6 @@ We also explicitly decided to support Python 3 beginning with version .. _prominent: https://docs.djangoproject.com/en/1.9/faq/install/#what-python-version-can-i-use-with-django .. _projects: http://flask.pocoo.org/docs/0.10/python3/ .. _Unicode literal support: https://www.python.org/dev/peps/pep-0414/ -.. _dropped 2.6: https://github.com/googleapis/google-cloud-python/issues/995 ********** Versioning diff --git a/MANIFEST.in b/MANIFEST.in index cd011be2..68855abc 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,19 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Generated by synthtool. DO NOT EDIT! include README.rst LICENSE recursive-include google *.json *.proto diff --git a/google/cloud/securitycenter_v1/gapic/security_center_client.py b/google/cloud/securitycenter_v1/gapic/security_center_client.py index a0b8bef5..0c66279c 100644 --- a/google/cloud/securitycenter_v1/gapic/security_center_client.py +++ b/google/cloud/securitycenter_v1/gapic/security_center_client.py @@ -144,6 +144,15 @@ def organization_settings_path(cls, organization): organization=organization, ) + @classmethod + def security_marks_path(cls, organization, asset): + """Return a fully-qualified security_marks string.""" + return google.api_core.path_template.expand( + "organizations/{organization}/assets/{asset}/securityMarks", + organization=organization, + asset=asset, + ) + @classmethod def source_path(cls, organization, source): """Return a fully-qualified source string.""" diff --git a/google/cloud/securitycenter_v1/proto/asset_pb2.py b/google/cloud/securitycenter_v1/proto/asset_pb2.py index dd1175a2..43386120 100644 --- a/google/cloud/securitycenter_v1/proto/asset_pb2.py +++ b/google/cloud/securitycenter_v1/proto/asset_pb2.py @@ -491,10 +491,8 @@ dict( DESCRIPTOR=_ASSET_SECURITYCENTERPROPERTIES, __module__="google.cloud.securitycenter_v1.proto.asset_pb2", - __doc__="""Cloud SCC managed properties. These properties are managed - by Cloud SCC and cannot be modified by the user. - - + __doc__="""Cloud SCC managed properties. These properties are managed by Cloud + SCC and cannot be modified by the user. Attributes: resource_name: The full resource name of the GCP resource this asset @@ -533,11 +531,9 @@ dict( DESCRIPTOR=_ASSET_IAMPOLICY, __module__="google.cloud.securitycenter_v1.proto.asset_pb2", - __doc__="""IAM Policy information associated with the GCP resource described by the - Cloud SCC asset. This information is managed and defined by the GCP - resource and cannot be modified by the user. - - + __doc__="""IAM Policy information associated with the GCP resource described by + the Cloud SCC asset. This information is managed and defined by the + GCP resource and cannot be modified by the user. Attributes: policy_blob: The JSON representation of the Policy associated with the @@ -559,14 +555,11 @@ ), DESCRIPTOR=_ASSET, __module__="google.cloud.securitycenter_v1.proto.asset_pb2", - __doc__="""Cloud Security Command Center's (Cloud SCC) representation - of a Google Cloud Platform (GCP) resource. - - The Asset is a Cloud SCC resource that captures information about a - single GCP resource. All modifications to an Asset are only within the - context of Cloud SCC and don't affect the referenced GCP resource. - - + __doc__="""Cloud Security Command Center's (Cloud SCC) representation of a Google + Cloud Platform (GCP) resource. The Asset is a Cloud SCC resource that + captures information about a single GCP resource. All modifications to + an Asset are only within the context of Cloud SCC and don't affect the + referenced GCP resource. Attributes: name: The relative resource name of this asset. See: https://cloud.g diff --git a/google/cloud/securitycenter_v1/proto/finding_pb2.py b/google/cloud/securitycenter_v1/proto/finding_pb2.py index 78ebc2c0..ed48cfe9 100644 --- a/google/cloud/securitycenter_v1/proto/finding_pb2.py +++ b/google/cloud/securitycenter_v1/proto/finding_pb2.py @@ -370,14 +370,12 @@ ), DESCRIPTOR=_FINDING, __module__="google.cloud.securitycenter_v1.proto.finding_pb2", - __doc__="""Cloud Security Command Center (Cloud SCC) finding. - - A finding is a record of assessment data like security, risk, health, or - privacy, that is ingested into Cloud SCC for presentation, notification, + __doc__="""Cloud Security Command Center (Cloud SCC) finding. A finding is a + record of assessment data like security, risk, health, or privacy, + that is ingested into Cloud SCC for presentation, notification, analysis, policy testing, and enforcement. For example, a cross-site - scripting (XSS) vulnerability in an App Engine application is a finding. - - + scripting (XSS) vulnerability in an App Engine application is a + finding. Attributes: name: The relative resource name of this finding. See: https://cloud diff --git a/google/cloud/securitycenter_v1/proto/notification_config_pb2.py b/google/cloud/securitycenter_v1/proto/notification_config_pb2.py index e998ccef..94a0ff8c 100644 --- a/google/cloud/securitycenter_v1/proto/notification_config_pb2.py +++ b/google/cloud/securitycenter_v1/proto/notification_config_pb2.py @@ -219,10 +219,8 @@ dict( DESCRIPTOR=_NOTIFICATIONCONFIG_STREAMINGCONFIG, __module__="google.cloud.securitycenter_v1.proto.notification_config_pb2", - __doc__="""The config for streaming-based notifications, which send - each event as soon as it is detected. - - + __doc__="""The config for streaming-based notifications, which send each event as + soon as it is detected. Attributes: filter: Expression that defines the filter to apply across @@ -245,14 +243,10 @@ ), DESCRIPTOR=_NOTIFICATIONCONFIG, __module__="google.cloud.securitycenter_v1.proto.notification_config_pb2", - __doc__="""Cloud Security Command Center (Cloud SCC) notification - configs. - - A notification config is a Cloud SCC resource that contains the + __doc__="""Cloud Security Command Center (Cloud SCC) notification configs. A + notification config is a Cloud SCC resource that contains the configuration to send notifications for create/update events of findings, assets and etc. - - Attributes: name: The relative resource name of this notification config. See: h diff --git a/google/cloud/securitycenter_v1/proto/notification_message_pb2.py b/google/cloud/securitycenter_v1/proto/notification_message_pb2.py index 78c36b25..25e0d028 100644 --- a/google/cloud/securitycenter_v1/proto/notification_message_pb2.py +++ b/google/cloud/securitycenter_v1/proto/notification_message_pb2.py @@ -123,8 +123,6 @@ DESCRIPTOR=_NOTIFICATIONMESSAGE, __module__="google.cloud.securitycenter_v1.proto.notification_message_pb2", __doc__="""Cloud SCC's Notification - - Attributes: notification_config_name: Name of the notification config that generated current diff --git a/google/cloud/securitycenter_v1/proto/organization_settings_pb2.py b/google/cloud/securitycenter_v1/proto/organization_settings_pb2.py index 303488ee..90a33974 100644 --- a/google/cloud/securitycenter_v1/proto/organization_settings_pb2.py +++ b/google/cloud/securitycenter_v1/proto/organization_settings_pb2.py @@ -220,8 +220,6 @@ DESCRIPTOR=_ORGANIZATIONSETTINGS_ASSETDISCOVERYCONFIG, __module__="google.cloud.securitycenter_v1.proto.organization_settings_pb2", __doc__="""The configuration used for Asset Discovery runs. - - Attributes: project_ids: The project ids to use for filtering asset discovery. @@ -233,10 +231,8 @@ ), DESCRIPTOR=_ORGANIZATIONSETTINGS, __module__="google.cloud.securitycenter_v1.proto.organization_settings_pb2", - __doc__="""User specified settings that are attached to the Cloud - Security Command Center (Cloud SCC) organization. - - + __doc__="""User specified settings that are attached to the Cloud Security + Command Center (Cloud SCC) organization. Attributes: name: The relative resource name of the settings. See: https://cloud diff --git a/google/cloud/securitycenter_v1/proto/run_asset_discovery_response_pb2.py b/google/cloud/securitycenter_v1/proto/run_asset_discovery_response_pb2.py index 17a13265..699afce5 100644 --- a/google/cloud/securitycenter_v1/proto/run_asset_discovery_response_pb2.py +++ b/google/cloud/securitycenter_v1/proto/run_asset_discovery_response_pb2.py @@ -142,8 +142,6 @@ DESCRIPTOR=_RUNASSETDISCOVERYRESPONSE, __module__="google.cloud.securitycenter_v1.proto.run_asset_discovery_response_pb2", __doc__="""Response of asset discovery run - - Attributes: state: The state of an asset discovery run. diff --git a/google/cloud/securitycenter_v1/proto/security_marks_pb2.py b/google/cloud/securitycenter_v1/proto/security_marks_pb2.py index 96f4b8e3..bda8d7b8 100644 --- a/google/cloud/securitycenter_v1/proto/security_marks_pb2.py +++ b/google/cloud/securitycenter_v1/proto/security_marks_pb2.py @@ -170,12 +170,10 @@ ), DESCRIPTOR=_SECURITYMARKS, __module__="google.cloud.securitycenter_v1.proto.security_marks_pb2", - __doc__="""User specified security marks that are attached to the - parent Cloud Security Command Center (Cloud SCC) resource. Security - marks are scoped within a Cloud SCC organization -- they can be modified - and viewed by all users who have proper permissions on the organization. - - + __doc__="""User specified security marks that are attached to the parent Cloud + Security Command Center (Cloud SCC) resource. Security marks are + scoped within a Cloud SCC organization -- they can be modified and + viewed by all users who have proper permissions on the organization. Attributes: name: The relative resource name of the SecurityMarks. See: https:// diff --git a/google/cloud/securitycenter_v1/proto/securitycenter_service_pb2.py b/google/cloud/securitycenter_v1/proto/securitycenter_service_pb2.py index 6d060018..e83e87cc 100644 --- a/google/cloud/securitycenter_v1/proto/securitycenter_service_pb2.py +++ b/google/cloud/securitycenter_v1/proto/securitycenter_service_pb2.py @@ -2777,8 +2777,6 @@ DESCRIPTOR=_CREATEFINDINGREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Request message for creating a finding. - - Attributes: parent: Required. Resource name of the new finding's parent. Its @@ -2805,8 +2803,6 @@ DESCRIPTOR=_CREATENOTIFICATIONCONFIGREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Request message for creating a notification config. - - Attributes: parent: Required. Resource name of the new notification config's @@ -2832,8 +2828,6 @@ DESCRIPTOR=_CREATESOURCEREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Request message for creating a source. - - Attributes: parent: Required. Resource name of the new source's parent. Its format @@ -2854,8 +2848,6 @@ DESCRIPTOR=_DELETENOTIFICATIONCONFIGREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Request message for deleting a notification config. - - Attributes: name: Required. Name of the notification config to delete. Its @@ -2874,8 +2866,6 @@ DESCRIPTOR=_GETNOTIFICATIONCONFIGREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Request message for getting a notification config. - - Attributes: name: Required. Name of the notification config to get. Its format @@ -2894,8 +2884,6 @@ DESCRIPTOR=_GETORGANIZATIONSETTINGSREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Request message for getting organization settings. - - Attributes: name: Required. Name of the organization to get organization @@ -2914,8 +2902,6 @@ DESCRIPTOR=_GETSOURCEREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Request message for getting a source. - - Attributes: name: Required. Relative resource name of the source. Its format is @@ -2933,8 +2919,6 @@ DESCRIPTOR=_GROUPASSETSREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Request message for grouping by assets. - - Attributes: parent: Required. Name of the organization to groupBy. Its format is @@ -3047,8 +3031,6 @@ DESCRIPTOR=_GROUPASSETSRESPONSE, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Response message for grouping by assets. - - Attributes: group_by_results: Group results. There exists an element for each existing @@ -3075,8 +3057,6 @@ DESCRIPTOR=_GROUPFINDINGSREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Request message for grouping by findings. - - Attributes: parent: Required. Name of the source to groupBy. Its format is @@ -3170,8 +3150,6 @@ DESCRIPTOR=_GROUPFINDINGSRESPONSE, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Response message for group by findings. - - Attributes: group_by_results: Group results. There exists an element for each existing @@ -3206,10 +3184,7 @@ ), DESCRIPTOR=_GROUPRESULT, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Result containing the properties and count of a groupBy - request. - - + __doc__="""Result containing the properties and count of a groupBy request. Attributes: properties: Properties matching the groupBy fields in the request. @@ -3229,8 +3204,6 @@ DESCRIPTOR=_LISTNOTIFICATIONCONFIGSREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Request message for listing notification configs. - - Attributes: parent: Required. Name of the organization to list notification @@ -3256,8 +3229,6 @@ DESCRIPTOR=_LISTNOTIFICATIONCONFIGSRESPONSE, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Response message for listing notification configs. - - Attributes: notification_configs: Notification configs belonging to the requested parent. @@ -3277,8 +3248,6 @@ DESCRIPTOR=_LISTSOURCESREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Request message for listing sources. - - Attributes: parent: Required. Resource name of the parent of sources to list. Its @@ -3304,8 +3273,6 @@ DESCRIPTOR=_LISTSOURCESRESPONSE, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Response message for listing sources. - - Attributes: sources: Sources belonging to the requested parent. @@ -3325,8 +3292,6 @@ DESCRIPTOR=_LISTASSETSREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Request message for listing assets. - - Attributes: parent: Required. Name of the organization assets should belong to. @@ -3447,8 +3412,6 @@ DESCRIPTOR=_LISTASSETSRESPONSE_LISTASSETSRESULT, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Result containing the Asset and its State. - - Attributes: asset: Asset matching the search request. @@ -3461,8 +3424,6 @@ DESCRIPTOR=_LISTASSETSRESPONSE, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Response message for listing assets. - - Attributes: list_assets_results: Assets matching the list request. @@ -3487,8 +3448,6 @@ DESCRIPTOR=_LISTFINDINGSREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Request message for listing findings. - - Attributes: parent: Required. Name of the source the findings belong to. Its @@ -3599,10 +3558,8 @@ dict( DESCRIPTOR=_LISTFINDINGSRESPONSE_LISTFINDINGSRESULT_RESOURCE, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Information related to the Google Cloud Platform (GCP) - resource that is associated with this finding. - - + __doc__="""Information related to the Google Cloud Platform (GCP) resource that + is associated with this finding. Attributes: name: The full resource name of the resource. See: https://cloud.goo @@ -3624,8 +3581,6 @@ DESCRIPTOR=_LISTFINDINGSRESPONSE_LISTFINDINGSRESULT, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Result containing the Finding and its StateChange. - - Attributes: finding: Finding matching the search request. @@ -3640,8 +3595,6 @@ DESCRIPTOR=_LISTFINDINGSRESPONSE, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Response message for listing findings. - - Attributes: list_findings_results: Findings matching the list request. @@ -3667,8 +3620,6 @@ DESCRIPTOR=_SETFINDINGSTATEREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Request message for updating a finding's state. - - Attributes: name: Required. The relative resource name of the finding. See: http @@ -3691,10 +3642,7 @@ dict( DESCRIPTOR=_RUNASSETDISCOVERYREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for running asset discovery for an - organization. - - + __doc__="""Request message for running asset discovery for an organization. Attributes: parent: Required. Name of the organization to run asset discovery for. @@ -3712,8 +3660,6 @@ DESCRIPTOR=_UPDATEFINDINGREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Request message for updating or creating a finding. - - Attributes: finding: Required. The finding resource to update or create if it does @@ -3742,8 +3688,6 @@ DESCRIPTOR=_UPDATENOTIFICATIONCONFIGREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Request message for updating a notification config. - - Attributes: notification_config: Required. The notification config to update. @@ -3763,8 +3707,6 @@ DESCRIPTOR=_UPDATEORGANIZATIONSETTINGSREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Request message for updating an organization's settings. - - Attributes: organization_settings: Required. The organization settings resource to update. @@ -3784,8 +3726,6 @@ DESCRIPTOR=_UPDATESOURCEREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Request message for updating a source. - - Attributes: source: Required. The source resource to update. @@ -3805,8 +3745,6 @@ DESCRIPTOR=_UPDATESECURITYMARKSREQUEST, __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", __doc__="""Request message for updating a SecurityMarks resource. - - Attributes: security_marks: Required. The security marks resource to update. diff --git a/google/cloud/securitycenter_v1/proto/source_pb2.py b/google/cloud/securitycenter_v1/proto/source_pb2.py index 2342f7ec..68cb1ac2 100644 --- a/google/cloud/securitycenter_v1/proto/source_pb2.py +++ b/google/cloud/securitycenter_v1/proto/source_pb2.py @@ -121,12 +121,10 @@ dict( DESCRIPTOR=_SOURCE, __module__="google.cloud.securitycenter_v1.proto.source_pb2", - __doc__="""Cloud Security Command Center's (Cloud SCC) finding - source. A finding source is an entity or a mechanism that can produce a - finding. A source is like a container of findings that come from the - same scanner, logger, monitor, and other tools. - - + __doc__="""Cloud Security Command Center's (Cloud SCC) finding source. A finding + source is an entity or a mechanism that can produce a finding. A + source is like a container of findings that come from the same + scanner, logger, monitor, and other tools. Attributes: name: The relative resource name of this source. See: https://cloud. diff --git a/google/cloud/securitycenter_v1beta1/proto/asset_pb2.py b/google/cloud/securitycenter_v1beta1/proto/asset_pb2.py index b56597bd..d5488e2c 100644 --- a/google/cloud/securitycenter_v1beta1/proto/asset_pb2.py +++ b/google/cloud/securitycenter_v1beta1/proto/asset_pb2.py @@ -373,10 +373,8 @@ dict( DESCRIPTOR=_ASSET_SECURITYCENTERPROPERTIES, __module__="google.cloud.securitycenter_v1beta1.proto.asset_pb2", - __doc__="""Cloud SCC managed properties. These properties are managed - by Cloud SCC and cannot be modified by the user. - - + __doc__="""Cloud SCC managed properties. These properties are managed by Cloud + SCC and cannot be modified by the user. Attributes: resource_name: Immutable. The full resource name of the GCP resource this @@ -413,14 +411,11 @@ ), DESCRIPTOR=_ASSET, __module__="google.cloud.securitycenter_v1beta1.proto.asset_pb2", - __doc__="""Cloud Security Command Center's (Cloud SCC) representation - of a Google Cloud Platform (GCP) resource. - - The Asset is a Cloud SCC resource that captures information about a - single GCP resource. All modifications to an Asset are only within the - context of Cloud SCC and don't affect the referenced GCP resource. - - + __doc__="""Cloud Security Command Center's (Cloud SCC) representation of a Google + Cloud Platform (GCP) resource. The Asset is a Cloud SCC resource that + captures information about a single GCP resource. All modifications to + an Asset are only within the context of Cloud SCC and don't affect the + referenced GCP resource. Attributes: name: The relative resource name of this asset. See: https://cloud.g diff --git a/google/cloud/securitycenter_v1beta1/proto/finding_pb2.py b/google/cloud/securitycenter_v1beta1/proto/finding_pb2.py index 34e0e700..08db0c07 100644 --- a/google/cloud/securitycenter_v1beta1/proto/finding_pb2.py +++ b/google/cloud/securitycenter_v1beta1/proto/finding_pb2.py @@ -370,14 +370,11 @@ ), DESCRIPTOR=_FINDING, __module__="google.cloud.securitycenter_v1beta1.proto.finding_pb2", - __doc__="""Cloud Security Command Center (Cloud SCC) finding. - - A finding is a record of assessment data (security, risk, health or - privacy) ingested into Cloud SCC for presentation, notification, - analysis, policy testing, and enforcement. For example, an XSS - vulnerability in an App Engine application is a finding. - - + __doc__="""Cloud Security Command Center (Cloud SCC) finding. A finding is a + record of assessment data (security, risk, health or privacy) ingested + into Cloud SCC for presentation, notification, analysis, policy + testing, and enforcement. For example, an XSS vulnerability in an App + Engine application is a finding. Attributes: name: The relative resource name of this finding. See: https://cloud diff --git a/google/cloud/securitycenter_v1beta1/proto/organization_settings_pb2.py b/google/cloud/securitycenter_v1beta1/proto/organization_settings_pb2.py index 7ee67a3f..63e4e487 100644 --- a/google/cloud/securitycenter_v1beta1/proto/organization_settings_pb2.py +++ b/google/cloud/securitycenter_v1beta1/proto/organization_settings_pb2.py @@ -220,8 +220,6 @@ DESCRIPTOR=_ORGANIZATIONSETTINGS_ASSETDISCOVERYCONFIG, __module__="google.cloud.securitycenter_v1beta1.proto.organization_settings_pb2", __doc__="""The configuration used for Asset Discovery runs. - - Attributes: project_ids: The project ids to use for filtering asset discovery. @@ -233,10 +231,8 @@ ), DESCRIPTOR=_ORGANIZATIONSETTINGS, __module__="google.cloud.securitycenter_v1beta1.proto.organization_settings_pb2", - __doc__="""User specified settings that are attached to the Cloud - Security Command Center (Cloud SCC) organization. - - + __doc__="""User specified settings that are attached to the Cloud Security + Command Center (Cloud SCC) organization. Attributes: name: The relative resource name of the settings. See: https://cloud diff --git a/google/cloud/securitycenter_v1beta1/proto/run_asset_discovery_response_pb2.py b/google/cloud/securitycenter_v1beta1/proto/run_asset_discovery_response_pb2.py index c2199a0f..f1c9cab5 100644 --- a/google/cloud/securitycenter_v1beta1/proto/run_asset_discovery_response_pb2.py +++ b/google/cloud/securitycenter_v1beta1/proto/run_asset_discovery_response_pb2.py @@ -142,8 +142,6 @@ DESCRIPTOR=_RUNASSETDISCOVERYRESPONSE, __module__="google.cloud.securitycenter_v1beta1.proto.run_asset_discovery_response_pb2", __doc__="""Response of asset discovery run - - Attributes: state: The state of an asset discovery run. diff --git a/google/cloud/securitycenter_v1beta1/proto/security_marks_pb2.py b/google/cloud/securitycenter_v1beta1/proto/security_marks_pb2.py index ae674ca2..e479c3b1 100644 --- a/google/cloud/securitycenter_v1beta1/proto/security_marks_pb2.py +++ b/google/cloud/securitycenter_v1beta1/proto/security_marks_pb2.py @@ -170,12 +170,10 @@ ), DESCRIPTOR=_SECURITYMARKS, __module__="google.cloud.securitycenter_v1beta1.proto.security_marks_pb2", - __doc__="""User specified security marks that are attached to the - parent Cloud Security Command Center (Cloud SCC) resource. Security - marks are scoped within a Cloud SCC organization -- they can be modified - and viewed by all users who have proper permissions on the organization. - - + __doc__="""User specified security marks that are attached to the parent Cloud + Security Command Center (Cloud SCC) resource. Security marks are + scoped within a Cloud SCC organization -- they can be modified and + viewed by all users who have proper permissions on the organization. Attributes: name: The relative resource name of the SecurityMarks. See: https:// diff --git a/google/cloud/securitycenter_v1beta1/proto/securitycenter_service_pb2.py b/google/cloud/securitycenter_v1beta1/proto/securitycenter_service_pb2.py index c7e659b5..e4e55e53 100644 --- a/google/cloud/securitycenter_v1beta1/proto/securitycenter_service_pb2.py +++ b/google/cloud/securitycenter_v1beta1/proto/securitycenter_service_pb2.py @@ -2085,8 +2085,6 @@ DESCRIPTOR=_CREATEFINDINGREQUEST, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for creating a finding. - - Attributes: parent: Required. Resource name of the new finding's parent. Its @@ -2113,8 +2111,6 @@ DESCRIPTOR=_CREATESOURCEREQUEST, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for creating a source. - - Attributes: parent: Required. Resource name of the new source's parent. Its format @@ -2135,8 +2131,6 @@ DESCRIPTOR=_GETORGANIZATIONSETTINGSREQUEST, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for getting organization settings. - - Attributes: name: Required. Name of the organization to get organization @@ -2155,8 +2149,6 @@ DESCRIPTOR=_GETSOURCEREQUEST, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for getting a source. - - Attributes: name: Required. Relative resource name of the source. Its format is @@ -2174,8 +2166,6 @@ DESCRIPTOR=_GROUPASSETSREQUEST, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for grouping by assets. - - Attributes: parent: Required. Name of the organization to groupBy. Its format is @@ -2254,8 +2244,6 @@ DESCRIPTOR=_GROUPASSETSRESPONSE, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Response message for grouping by assets. - - Attributes: group_by_results: Group results. There exists an element for each existing @@ -2280,8 +2268,6 @@ DESCRIPTOR=_GROUPFINDINGSREQUEST, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for grouping by findings. - - Attributes: parent: Required. Name of the source to groupBy. Its format is @@ -2336,8 +2322,6 @@ DESCRIPTOR=_GROUPFINDINGSRESPONSE, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Response message for group by findings. - - Attributes: group_by_results: Group results. There exists an element for each existing @@ -2370,10 +2354,7 @@ ), DESCRIPTOR=_GROUPRESULT, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", - __doc__="""Result containing the properties and count of a groupBy - request. - - + __doc__="""Result containing the properties and count of a groupBy request. Attributes: properties: Properties matching the groupBy fields in the request. @@ -2393,8 +2374,6 @@ DESCRIPTOR=_LISTSOURCESREQUEST, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for listing sources. - - Attributes: parent: Required. Resource name of the parent of sources to list. Its @@ -2420,8 +2399,6 @@ DESCRIPTOR=_LISTSOURCESRESPONSE, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Response message for listing sources. - - Attributes: sources: Sources belonging to the requested parent. @@ -2441,8 +2418,6 @@ DESCRIPTOR=_LISTASSETSREQUEST, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for listing assets. - - Attributes: parent: Required. Name of the organization assets should belong to. @@ -2530,8 +2505,6 @@ DESCRIPTOR=_LISTASSETSRESPONSE_LISTASSETSRESULT, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Result containing the Asset and its State. - - Attributes: asset: Asset matching the search request. @@ -2544,8 +2517,6 @@ DESCRIPTOR=_LISTASSETSRESPONSE, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Response message for listing assets. - - Attributes: list_assets_results: Assets matching the list request. @@ -2570,8 +2541,6 @@ DESCRIPTOR=_LISTFINDINGSREQUEST, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for listing findings. - - Attributes: parent: Required. Name of the source the findings belong to. Its @@ -2636,8 +2605,6 @@ DESCRIPTOR=_LISTFINDINGSRESPONSE, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Response message for listing findings. - - Attributes: findings: Findings matching the list request. @@ -2661,8 +2628,6 @@ DESCRIPTOR=_SETFINDINGSTATEREQUEST, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for updating a finding's state. - - Attributes: name: Required. The relative resource name of the finding. See: http @@ -2685,10 +2650,7 @@ dict( DESCRIPTOR=_RUNASSETDISCOVERYREQUEST, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for running asset discovery for an - organization. - - + __doc__="""Request message for running asset discovery for an organization. Attributes: parent: Required. Name of the organization to run asset discovery for. @@ -2706,8 +2668,6 @@ DESCRIPTOR=_UPDATEFINDINGREQUEST, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for updating or creating a finding. - - Attributes: finding: Required. The finding resource to update or create if it does @@ -2731,8 +2691,6 @@ DESCRIPTOR=_UPDATEORGANIZATIONSETTINGSREQUEST, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for updating an organization's settings. - - Attributes: organization_settings: Required. The organization settings resource to update. @@ -2751,8 +2709,6 @@ DESCRIPTOR=_UPDATESOURCEREQUEST, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for updating a source. - - Attributes: source: Required. The source resource to update. @@ -2771,8 +2727,6 @@ DESCRIPTOR=_UPDATESECURITYMARKSREQUEST, __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for updating a SecurityMarks resource. - - Attributes: security_marks: Required. The security marks resource to update. diff --git a/google/cloud/securitycenter_v1beta1/proto/source_pb2.py b/google/cloud/securitycenter_v1beta1/proto/source_pb2.py index a80fbf8f..9ef1c5b0 100644 --- a/google/cloud/securitycenter_v1beta1/proto/source_pb2.py +++ b/google/cloud/securitycenter_v1beta1/proto/source_pb2.py @@ -122,11 +122,9 @@ DESCRIPTOR=_SOURCE, __module__="google.cloud.securitycenter_v1beta1.proto.source_pb2", __doc__="""Cloud Security Command Center's (Cloud SCC) finding source. A finding - source is an entity or a mechanism that can produce a finding. A source - is like a container of findings that come from the same scanner, logger, - monitor, etc. - - + source is an entity or a mechanism that can produce a finding. A + source is like a container of findings that come from the same + scanner, logger, monitor, etc. Attributes: name: The relative resource name of this source. See: https://cloud. diff --git a/google/cloud/securitycenter_v1p1beta1/gapic/security_center_client.py b/google/cloud/securitycenter_v1p1beta1/gapic/security_center_client.py index f8bedd27..e5c23279 100644 --- a/google/cloud/securitycenter_v1p1beta1/gapic/security_center_client.py +++ b/google/cloud/securitycenter_v1p1beta1/gapic/security_center_client.py @@ -125,6 +125,15 @@ def organization_settings_path(cls, organization): organization=organization, ) + @classmethod + def security_marks_path(cls, organization, asset): + """Return a fully-qualified security_marks string.""" + return google.api_core.path_template.expand( + "organizations/{organization}/assets/{asset}/securityMarks", + organization=organization, + asset=asset, + ) + @classmethod def source_path(cls, organization, source): """Return a fully-qualified source string.""" diff --git a/google/cloud/securitycenter_v1p1beta1/proto/asset.proto b/google/cloud/securitycenter_v1p1beta1/proto/asset.proto index 3e4b26a8..aaa18bcb 100644 --- a/google/cloud/securitycenter_v1p1beta1/proto/asset.proto +++ b/google/cloud/securitycenter_v1p1beta1/proto/asset.proto @@ -82,7 +82,7 @@ message Asset { // resource and cannot be modified by the user. message IamPolicy { // The JSON representation of the Policy associated with the asset. - // See https://cloud.google.com/iam/reference/rest/v1p1beta1/Policy for + // See https://cloud.google.com/iam/reference/rest/v1/Policy for // format details. string policy_blob = 1; } diff --git a/google/cloud/securitycenter_v1p1beta1/proto/asset_pb2.py b/google/cloud/securitycenter_v1p1beta1/proto/asset_pb2.py index 32de1aca..2de7806d 100644 --- a/google/cloud/securitycenter_v1p1beta1/proto/asset_pb2.py +++ b/google/cloud/securitycenter_v1p1beta1/proto/asset_pb2.py @@ -491,10 +491,8 @@ dict( DESCRIPTOR=_ASSET_SECURITYCENTERPROPERTIES, __module__="google.cloud.securitycenter_v1p1beta1.proto.asset_pb2", - __doc__="""Cloud SCC managed properties. These properties are managed - by Cloud SCC and cannot be modified by the user. - - + __doc__="""Cloud SCC managed properties. These properties are managed by Cloud + SCC and cannot be modified by the user. Attributes: resource_name: The full resource name of the GCP resource this asset @@ -533,17 +531,15 @@ dict( DESCRIPTOR=_ASSET_IAMPOLICY, __module__="google.cloud.securitycenter_v1p1beta1.proto.asset_pb2", - __doc__="""IAM Policy information associated with the GCP resource - described by the Cloud SCC asset. This information is managed and - defined by the GCP resource and cannot be modified by the user. - - + __doc__="""IAM Policy information associated with the GCP resource described by + the Cloud SCC asset. This information is managed and defined by the + GCP resource and cannot be modified by the user. Attributes: policy_blob: The JSON representation of the Policy associated with the asset. See - https://cloud.google.com/iam/reference/rest/v1p1beta1/Policy - for format details. + https://cloud.google.com/iam/reference/rest/v1/Policy for + format details. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.Asset.IamPolicy) ), @@ -559,14 +555,11 @@ ), DESCRIPTOR=_ASSET, __module__="google.cloud.securitycenter_v1p1beta1.proto.asset_pb2", - __doc__="""Cloud Security Command Center's (Cloud SCC) representation - of a Google Cloud Platform (GCP) resource. - - The Asset is a Cloud SCC resource that captures information about a - single GCP resource. All modifications to an Asset are only within the - context of Cloud SCC and don't affect the referenced GCP resource. - - + __doc__="""Cloud Security Command Center's (Cloud SCC) representation of a Google + Cloud Platform (GCP) resource. The Asset is a Cloud SCC resource that + captures information about a single GCP resource. All modifications to + an Asset are only within the context of Cloud SCC and don't affect the + referenced GCP resource. Attributes: name: The relative resource name of this asset. See: https://cloud.g diff --git a/google/cloud/securitycenter_v1p1beta1/proto/finding_pb2.py b/google/cloud/securitycenter_v1p1beta1/proto/finding_pb2.py index b2e35bb4..b9977beb 100644 --- a/google/cloud/securitycenter_v1p1beta1/proto/finding_pb2.py +++ b/google/cloud/securitycenter_v1p1beta1/proto/finding_pb2.py @@ -370,14 +370,11 @@ ), DESCRIPTOR=_FINDING, __module__="google.cloud.securitycenter_v1p1beta1.proto.finding_pb2", - __doc__="""Cloud Security Command Center (Cloud SCC) finding. - - A finding is a record of assessment data (security, risk, health or - privacy) ingested into Cloud SCC for presentation, notification, - analysis, policy testing, and enforcement. For example, an XSS - vulnerability in an App Engine application is a finding. - - + __doc__="""Cloud Security Command Center (Cloud SCC) finding. A finding is a + record of assessment data (security, risk, health or privacy) ingested + into Cloud SCC for presentation, notification, analysis, policy + testing, and enforcement. For example, an XSS vulnerability in an App + Engine application is a finding. Attributes: name: The relative resource name of this finding. See: https://cloud diff --git a/google/cloud/securitycenter_v1p1beta1/proto/notification_config_pb2.py b/google/cloud/securitycenter_v1p1beta1/proto/notification_config_pb2.py index c04b9474..747520b0 100644 --- a/google/cloud/securitycenter_v1p1beta1/proto/notification_config_pb2.py +++ b/google/cloud/securitycenter_v1p1beta1/proto/notification_config_pb2.py @@ -266,10 +266,8 @@ dict( DESCRIPTOR=_NOTIFICATIONCONFIG_STREAMINGCONFIG, __module__="google.cloud.securitycenter_v1p1beta1.proto.notification_config_pb2", - __doc__="""The config for streaming-based notifications, which send - each event as soon as it is detected. - - + __doc__="""The config for streaming-based notifications, which send each event as + soon as it is detected. Attributes: filter: Expression that defines the filter to apply across @@ -292,14 +290,10 @@ ), DESCRIPTOR=_NOTIFICATIONCONFIG, __module__="google.cloud.securitycenter_v1p1beta1.proto.notification_config_pb2", - __doc__="""Cloud Security Command Center (Cloud SCC) notification - configs. - - A notification config is a Cloud SCC resource that contains the + __doc__="""Cloud Security Command Center (Cloud SCC) notification configs. A + notification config is a Cloud SCC resource that contains the configuration to send notifications for create/update events of findings, assets and etc. - - Attributes: name: The relative resource name of this notification config. See: h diff --git a/google/cloud/securitycenter_v1p1beta1/proto/notification_message_pb2.py b/google/cloud/securitycenter_v1p1beta1/proto/notification_message_pb2.py index 7a3f9848..63cf8595 100644 --- a/google/cloud/securitycenter_v1p1beta1/proto/notification_message_pb2.py +++ b/google/cloud/securitycenter_v1p1beta1/proto/notification_message_pb2.py @@ -127,8 +127,6 @@ DESCRIPTOR=_NOTIFICATIONMESSAGE, __module__="google.cloud.securitycenter_v1p1beta1.proto.notification_message_pb2", __doc__="""Cloud SCC's Notification - - Attributes: notification_config_name: Name of the notification config that generated current diff --git a/google/cloud/securitycenter_v1p1beta1/proto/organization_settings_pb2.py b/google/cloud/securitycenter_v1p1beta1/proto/organization_settings_pb2.py index 7bb63331..b53a2081 100644 --- a/google/cloud/securitycenter_v1p1beta1/proto/organization_settings_pb2.py +++ b/google/cloud/securitycenter_v1p1beta1/proto/organization_settings_pb2.py @@ -220,8 +220,6 @@ DESCRIPTOR=_ORGANIZATIONSETTINGS_ASSETDISCOVERYCONFIG, __module__="google.cloud.securitycenter_v1p1beta1.proto.organization_settings_pb2", __doc__="""The configuration used for Asset Discovery runs. - - Attributes: project_ids: The project ids to use for filtering asset discovery. @@ -233,10 +231,8 @@ ), DESCRIPTOR=_ORGANIZATIONSETTINGS, __module__="google.cloud.securitycenter_v1p1beta1.proto.organization_settings_pb2", - __doc__="""User specified settings that are attached to the Cloud - Security Command Center (Cloud SCC) organization. - - + __doc__="""User specified settings that are attached to the Cloud Security + Command Center (Cloud SCC) organization. Attributes: name: The relative resource name of the settings. See: https://cloud diff --git a/google/cloud/securitycenter_v1p1beta1/proto/run_asset_discovery_response_pb2.py b/google/cloud/securitycenter_v1p1beta1/proto/run_asset_discovery_response_pb2.py index 0f32a5ab..397c26e6 100644 --- a/google/cloud/securitycenter_v1p1beta1/proto/run_asset_discovery_response_pb2.py +++ b/google/cloud/securitycenter_v1p1beta1/proto/run_asset_discovery_response_pb2.py @@ -142,8 +142,6 @@ DESCRIPTOR=_RUNASSETDISCOVERYRESPONSE, __module__="google.cloud.securitycenter_v1p1beta1.proto.run_asset_discovery_response_pb2", __doc__="""Response of asset discovery run - - Attributes: state: The state of an asset discovery run. diff --git a/google/cloud/securitycenter_v1p1beta1/proto/security_marks_pb2.py b/google/cloud/securitycenter_v1p1beta1/proto/security_marks_pb2.py index efc7cae3..ed4afb4d 100644 --- a/google/cloud/securitycenter_v1p1beta1/proto/security_marks_pb2.py +++ b/google/cloud/securitycenter_v1p1beta1/proto/security_marks_pb2.py @@ -170,12 +170,10 @@ ), DESCRIPTOR=_SECURITYMARKS, __module__="google.cloud.securitycenter_v1p1beta1.proto.security_marks_pb2", - __doc__="""User specified security marks that are attached to the - parent Cloud Security Command Center (Cloud SCC) resource. Security - marks are scoped within a Cloud SCC organization -- they can be modified - and viewed by all users who have proper permissions on the organization. - - + __doc__="""User specified security marks that are attached to the parent Cloud + Security Command Center (Cloud SCC) resource. Security marks are + scoped within a Cloud SCC organization -- they can be modified and + viewed by all users who have proper permissions on the organization. Attributes: name: The relative resource name of the SecurityMarks. See: https:// diff --git a/google/cloud/securitycenter_v1p1beta1/proto/securitycenter_service_pb2.py b/google/cloud/securitycenter_v1p1beta1/proto/securitycenter_service_pb2.py index 1e9df4e5..793e4d84 100644 --- a/google/cloud/securitycenter_v1p1beta1/proto/securitycenter_service_pb2.py +++ b/google/cloud/securitycenter_v1p1beta1/proto/securitycenter_service_pb2.py @@ -2851,8 +2851,6 @@ DESCRIPTOR=_CREATEFINDINGREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for creating a finding. - - Attributes: parent: Required. Resource name of the new finding's parent. Its @@ -2879,8 +2877,6 @@ DESCRIPTOR=_CREATENOTIFICATIONCONFIGREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for creating a notification config. - - Attributes: parent: Required. Resource name of the new notification config's @@ -2906,8 +2902,6 @@ DESCRIPTOR=_CREATESOURCEREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for creating a source. - - Attributes: parent: Required. Resource name of the new source's parent. Its format @@ -2928,8 +2922,6 @@ DESCRIPTOR=_DELETENOTIFICATIONCONFIGREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for deleting a notification config. - - Attributes: name: Required. Name of the notification config to delete. Its @@ -2948,8 +2940,6 @@ DESCRIPTOR=_GETNOTIFICATIONCONFIGREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for getting a notification config. - - Attributes: name: Required. Name of the notification config to get. Its format @@ -2968,8 +2958,6 @@ DESCRIPTOR=_GETORGANIZATIONSETTINGSREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for getting organization settings. - - Attributes: name: Required. Name of the organization to get organization @@ -2988,8 +2976,6 @@ DESCRIPTOR=_GETSOURCEREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for getting a source. - - Attributes: name: Required. Relative resource name of the source. Its format is @@ -3007,8 +2993,6 @@ DESCRIPTOR=_GROUPASSETSREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for grouping by assets. - - Attributes: parent: Required. Name of the organization to groupBy. Its format is @@ -3126,8 +3110,6 @@ DESCRIPTOR=_GROUPASSETSRESPONSE, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Response message for grouping by assets. - - Attributes: group_by_results: Group results. There exists an element for each existing @@ -3154,8 +3136,6 @@ DESCRIPTOR=_GROUPFINDINGSREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for grouping by findings. - - Attributes: parent: Required. Name of the source to groupBy. Its format is @@ -3250,8 +3230,6 @@ DESCRIPTOR=_GROUPFINDINGSRESPONSE, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Response message for group by findings. - - Attributes: group_by_results: Group results. There exists an element for each existing @@ -3286,10 +3264,7 @@ ), DESCRIPTOR=_GROUPRESULT, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Result containing the properties and count of a groupBy - request. - - + __doc__="""Result containing the properties and count of a groupBy request. Attributes: properties: Properties matching the groupBy fields in the request. @@ -3309,8 +3284,6 @@ DESCRIPTOR=_LISTNOTIFICATIONCONFIGSREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for listing notification configs. - - Attributes: parent: Required. Name of the organization to list notification @@ -3336,8 +3309,6 @@ DESCRIPTOR=_LISTNOTIFICATIONCONFIGSRESPONSE, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Response message for listing notification configs. - - Attributes: notification_configs: Notification configs belonging to the requested parent. @@ -3357,8 +3328,6 @@ DESCRIPTOR=_LISTSOURCESREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for listing sources. - - Attributes: parent: Required. Resource name of the parent of sources to list. Its @@ -3384,8 +3353,6 @@ DESCRIPTOR=_LISTSOURCESRESPONSE, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Response message for listing sources. - - Attributes: sources: Sources belonging to the requested parent. @@ -3405,8 +3372,6 @@ DESCRIPTOR=_LISTASSETSREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for listing assets. - - Attributes: parent: Required. Name of the organization assets should belong to. @@ -3532,8 +3497,6 @@ DESCRIPTOR=_LISTASSETSRESPONSE_LISTASSETSRESULT, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Result containing the Asset and its State. - - Attributes: asset: Asset matching the search request. @@ -3546,8 +3509,6 @@ DESCRIPTOR=_LISTASSETSRESPONSE, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Response message for listing assets. - - Attributes: list_assets_results: Assets matching the list request. @@ -3572,8 +3533,6 @@ DESCRIPTOR=_LISTFINDINGSREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for listing findings. - - Attributes: parent: Required. Name of the source the findings belong to. Its @@ -3684,10 +3643,8 @@ dict( DESCRIPTOR=_LISTFINDINGSRESPONSE_LISTFINDINGSRESULT_RESOURCE, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Information related to the Google Cloud Platform (GCP) - resource that is associated with this finding. - - + __doc__="""Information related to the Google Cloud Platform (GCP) resource that + is associated with this finding. Attributes: name: The full resource name of the resource. See: https://cloud.goo @@ -3709,8 +3666,6 @@ DESCRIPTOR=_LISTFINDINGSRESPONSE_LISTFINDINGSRESULT, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Result containing the Finding and its StateChange. - - Attributes: finding: Finding matching the search request. @@ -3725,8 +3680,6 @@ DESCRIPTOR=_LISTFINDINGSRESPONSE, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Response message for listing findings. - - Attributes: list_findings_results: Findings matching the list request. @@ -3752,8 +3705,6 @@ DESCRIPTOR=_SETFINDINGSTATEREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for updating a finding's state. - - Attributes: name: Required. The relative resource name of the finding. See: http @@ -3776,10 +3727,7 @@ dict( DESCRIPTOR=_RUNASSETDISCOVERYREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for running asset discovery for an - organization. - - + __doc__="""Request message for running asset discovery for an organization. Attributes: parent: Required. Name of the organization to run asset discovery for. @@ -3797,8 +3745,6 @@ DESCRIPTOR=_UPDATEFINDINGREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for updating or creating a finding. - - Attributes: finding: Required. The finding resource to update or create if it does @@ -3827,8 +3773,6 @@ DESCRIPTOR=_UPDATENOTIFICATIONCONFIGREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for updating a notification config. - - Attributes: notification_config: Required. The notification config to update. @@ -3848,8 +3792,6 @@ DESCRIPTOR=_UPDATEORGANIZATIONSETTINGSREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for updating an organization's settings. - - Attributes: organization_settings: Required. The organization settings resource to update. @@ -3869,8 +3811,6 @@ DESCRIPTOR=_UPDATESOURCEREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for updating a source. - - Attributes: source: Required. The source resource to update. @@ -3890,8 +3830,6 @@ DESCRIPTOR=_UPDATESECURITYMARKSREQUEST, __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", __doc__="""Request message for updating a SecurityMarks resource. - - Attributes: security_marks: Required. The security marks resource to update. diff --git a/google/cloud/securitycenter_v1p1beta1/proto/source_pb2.py b/google/cloud/securitycenter_v1p1beta1/proto/source_pb2.py index 944aa67b..12490d82 100644 --- a/google/cloud/securitycenter_v1p1beta1/proto/source_pb2.py +++ b/google/cloud/securitycenter_v1p1beta1/proto/source_pb2.py @@ -121,12 +121,10 @@ dict( DESCRIPTOR=_SOURCE, __module__="google.cloud.securitycenter_v1p1beta1.proto.source_pb2", - __doc__="""Cloud Security Command Center's (Cloud SCC) finding - source. A finding source is an entity or a mechanism that can produce a - finding. A source is like a container of findings that come from the - same scanner, logger, monitor, etc. - - + __doc__="""Cloud Security Command Center's (Cloud SCC) finding source. A finding + source is an entity or a mechanism that can produce a finding. A + source is like a container of findings that come from the same + scanner, logger, monitor, etc. Attributes: name: The relative resource name of this source. See: https://cloud. diff --git a/noxfile.py b/noxfile.py index ab80499c..dd4f09ef 100644 --- a/noxfile.py +++ b/noxfile.py @@ -112,7 +112,7 @@ def system(session): # Install all test dependencies, then install this package into the # virtualenv's dist-packages. - session.install("mock", "pytest") + session.install("mock", "pytest", "google-cloud-testutils") session.install("-e", ".") # Run py.test against the system tests. @@ -188,7 +188,7 @@ def docs(session): """Build the docs for this library.""" session.install('-e', '.') - session.install('sphinx', 'alabaster', 'recommonmark') + session.install('sphinx<3.0.0', 'alabaster', 'recommonmark') shutil.rmtree(os.path.join('docs', '_build'), ignore_errors=True) session.run( diff --git a/setup.cfg b/setup.cfg index 3bd55550..c3a2b39f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,19 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Generated by synthtool. DO NOT EDIT! [bdist_wheel] universal = 1 diff --git a/synth.metadata b/synth.metadata index 83c9ca47..8329d23f 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,27 +1,28 @@ { - "updateTime": "2020-03-10T12:22:17.922691Z", + "updateTime": "2020-04-28T20:57:57.056428Z", "sources": [ { "generator": { "name": "artman", - "version": "1.1.0", - "dockerImage": "googleapis/artman@sha256:f54b7644a1d2e7a37b23f5c0dfe9bba473e41c675002a507a244389e27487ca9" + "version": "2.0.0", + "dockerImage": "googleapis/artman@sha256:b3b47805231a305d0f40c4bf069df20f6a2635574e6d4259fac651d3f9f6e098" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "365c029b8cdb63f7751b92ab490f1976e616105c", - "internalRef": "300038469", - "log": "365c029b8cdb63f7751b92ab490f1976e616105c\nAdd CC targets to the kms protos.\n\nThese are needed by go/tink.\n\nPiperOrigin-RevId: 300038469\n\n4ba9aa8a4a1413b88dca5a8fa931824ee9c284e6\nExpose logo recognition API proto for GA.\n\nPiperOrigin-RevId: 299971671\n\n1c9fc2c9e03dadf15f16b1c4f570955bdcebe00e\nAdding ruby_package option to accessapproval.proto for the Ruby client libraries generation.\n\nPiperOrigin-RevId: 299955924\n\n1cc6f0a7bfb147e6f2ede911d9b01e7a9923b719\nbuild(google/maps/routes): generate api clients\n\nPiperOrigin-RevId: 299955905\n\n29a47c965aac79e3fe8e3314482ca0b5967680f0\nIncrease timeout to 1hr for method `dropRange` in bigtable/admin/v2, which is\nsynced with the timeout setting in gapic_yaml.\n\nPiperOrigin-RevId: 299917154\n\n8f631c4c70a60a9c7da3749511ee4ad432b62898\nbuild(google/maps/roads/v1op): move go to monorepo pattern\n\nPiperOrigin-RevId: 299885195\n\nd66816518844ebbf63504c9e8dfc7133921dd2cd\nbuild(google/maps/roads/v1op): Add bazel build files to generate clients.\n\nPiperOrigin-RevId: 299851148\n\naf7dff701fabe029672168649c62356cf1bb43d0\nAdd LogPlayerReports and LogImpressions to Playable Locations service\n\nPiperOrigin-RevId: 299724050\n\nb6927fca808f38df32a642c560082f5bf6538ced\nUpdate BigQuery Connection API v1beta1 proto: added credential to CloudSqlProperties.\n\nPiperOrigin-RevId: 299503150\n\n91e1fb5ef9829c0c7a64bfa5bde330e6ed594378\nchore: update protobuf (protoc) version to 3.11.2\n\nPiperOrigin-RevId: 299404145\n\n30e36b4bee6749c4799f4fc1a51cc8f058ba167d\nUpdate cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 299399890\n\nffbb493674099f265693872ae250711b2238090c\nfeat: cloudbuild/v1 add new fields and annotate OUTPUT_OUT fields.\n\nPiperOrigin-RevId: 299397780\n\nbc973a15818e00c19e121959832676e9b7607456\nbazel: Fix broken common dependency\n\nPiperOrigin-RevId: 299397431\n\n71094a343e3b962e744aa49eb9338219537474e4\nchore: bigtable/admin/v2 publish retry config\n\nPiperOrigin-RevId: 299391875\n\n8f488efd7bda33885cb674ddd023b3678c40bd82\nfeat: Migrate logging to GAPIC v2; release new features.\n\nIMPORTANT: This is a breaking change for client libraries\nin all languages.\n\nCommitter: @lukesneeringer, @jskeet\nPiperOrigin-RevId: 299370279\n\n007605bf9ad3a1fd775014ebefbf7f1e6b31ee71\nUpdate API for bigqueryreservation v1beta1.\n- Adds flex capacity commitment plan to CapacityCommitment.\n- Adds methods for getting and updating BiReservations.\n- Adds methods for updating/splitting/merging CapacityCommitments.\n\nPiperOrigin-RevId: 299368059\n\nf0b581b5bdf803e45201ecdb3688b60e381628a8\nfix: recommendationengine/v1beta1 update some comments\n\nPiperOrigin-RevId: 299181282\n\n10e9a0a833dc85ff8f05b2c67ebe5ac785fe04ff\nbuild: add generated BUILD file for Routes Preferred API\n\nPiperOrigin-RevId: 299164808\n\n86738c956a8238d7c77f729be78b0ed887a6c913\npublish v1p1beta1: update with absolute address in comments\n\nPiperOrigin-RevId: 299152383\n\n73d9f2ad4591de45c2e1f352bc99d70cbd2a6d95\npublish v1: update with absolute address in comments\n\nPiperOrigin-RevId: 299147194\n\nd2158f24cb77b0b0ccfe68af784c6a628705e3c6\npublish v1beta2: update with absolute address in comments\n\nPiperOrigin-RevId: 299147086\n\n7fca61292c11b4cd5b352cee1a50bf88819dd63b\npublish v1p2beta1: update with absolute address in comments\n\nPiperOrigin-RevId: 299146903\n\n583b7321624736e2c490e328f4b1957335779295\npublish v1p3beta1: update with absolute address in comments\n\nPiperOrigin-RevId: 299146674\n\n638253bf86d1ce1c314108a089b7351440c2f0bf\nfix: add java_multiple_files option for automl text_sentiment.proto\n\nPiperOrigin-RevId: 298971070\n\n373d655703bf914fb8b0b1cc4071d772bac0e0d1\nUpdate Recs AI Beta public bazel file\n\nPiperOrigin-RevId: 298961623\n\ndcc5d00fc8a8d8b56f16194d7c682027b2c66a3b\nfix: add java_multiple_files option for automl classification.proto\n\nPiperOrigin-RevId: 298953301\n\na3f791827266f3496a6a5201d58adc4bb265c2a3\nchore: automl/v1 publish annotations and retry config\n\nPiperOrigin-RevId: 298942178\n\n01c681586d8d6dbd60155289b587aee678530bd9\nMark return_immediately in PullRequest deprecated.\n\nPiperOrigin-RevId: 298893281\n\nc9f5e9c4bfed54bbd09227e990e7bded5f90f31c\nRemove out of date documentation for predicate support on the Storage API\n\nPiperOrigin-RevId: 298883309\n\nfd5b3b8238d783b04692a113ffe07c0363f5de0f\ngenerate webrisk v1 proto\n\nPiperOrigin-RevId: 298847934\n\n541b1ded4abadcc38e8178680b0677f65594ea6f\nUpdate cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 298686266\n\nc0d171acecb4f5b0bfd2c4ca34fc54716574e300\n Updated to include the Notification v1 API.\n\nPiperOrigin-RevId: 298652775\n\n2346a9186c0bff2c9cc439f2459d558068637e05\nAdd Service Directory v1beta1 protos and configs\n\nPiperOrigin-RevId: 298625638\n\na78ed801b82a5c6d9c5368e24b1412212e541bb7\nPublishing v3 protos and configs.\n\nPiperOrigin-RevId: 298607357\n\n4a180bfff8a21645b3a935c2756e8d6ab18a74e0\nautoml/v1beta1 publish proto updates\n\nPiperOrigin-RevId: 298484782\n\n6de6e938b7df1cd62396563a067334abeedb9676\nchore: use the latest gapic-generator and protoc-java-resource-name-plugin in Bazel workspace.\n\nPiperOrigin-RevId: 298474513\n\n244ab2b83a82076a1fa7be63b7e0671af73f5c02\nAdds service config definition for bigqueryreservation v1\n\nPiperOrigin-RevId: 298455048\n\n83c6f84035ee0f80eaa44d8b688a010461cc4080\nUpdate google/api/auth.proto to make AuthProvider to have JwtLocation\n\nPiperOrigin-RevId: 297918498\n\ne9e90a787703ec5d388902e2cb796aaed3a385b4\nDialogflow weekly v2/v2beta1 library update:\n - adding get validation result\n - adding field mask override control for output audio config\nImportant updates are also posted at:\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 297671458\n\n1a2b05cc3541a5f7714529c665aecc3ea042c646\nAdding .yaml and .json config files.\n\nPiperOrigin-RevId: 297570622\n\ndfe1cf7be44dee31d78f78e485d8c95430981d6e\nPublish `QueryOptions` proto.\n\nIntroduced a `query_options` input in `ExecuteSqlRequest`.\n\nPiperOrigin-RevId: 297497710\n\ndafc905f71e5d46f500b41ed715aad585be062c3\npubsub: revert pull init_rpc_timeout & max_rpc_timeout back to 25 seconds and reset multiplier to 1.0\n\nPiperOrigin-RevId: 297486523\n\nf077632ba7fee588922d9e8717ee272039be126d\nfirestore: add update_transform\n\nPiperOrigin-RevId: 297405063\n\n" + "sha": "756b174de4a122461993c1c583345533d819936d", + "internalRef": "308824110", + "log": "756b174de4a122461993c1c583345533d819936d\nfix: Add missing method_signature annotations for BigTable Admin Backup RPCs\n\nThe added method_signatures reflect method flattenings in the GAPIC v1 config.\n\nPiperOrigin-RevId: 308824110\n\nc284e4f849e4b085a297d336cef8721ab69ba013\nConfigure retry for Diaglogflow v2.Environments.ListEnvironments and v2beta1.Environments.ListEnvironments.\n\nPiperOrigin-RevId: 308749074\n\nff17eefa184f6985e5d9a8ee3e725da95a06cd23\nchore: add Python target for orgpolicy BUILD.bazel\n\nPiperOrigin-RevId: 308747658\n\n371206424e6db4df2cb3734bb1013dcaac9dbe4b\nRemove raw html from proto comments as this breaks client library documentation generators.\n\nSee https://aip.dev/192\n\n> Any formatting in comments must be in CommonMark. Headings and tables must not be used, as these cause problems for several tools, and are unsuitable for client library reference documentation.\n>\n> Comments should use code font for property names and for literals (such as true).\n>\n> Raw HTML must not be used.\n\nPiperOrigin-RevId: 308716969\n\nc2bfceedfc9f01356229bd206ad25e250aa9551c\nGenerating BUILD.bazel for maps/routes/v1alpha.\n\nPiperOrigin-RevId: 308691010\n\n5dca7f1079a4c127245c0f1dbb8293b434fbd0c8\nSupport purchasing capacity commitments in the BigQuery Reservation v1 API.\n\nPiperOrigin-RevId: 308671886\n\n28e76243c23cc282efbb288cb558c174e3e5e9ee\nfeat: integrate gapic generator change in googleapis\n\nPiperOrigin-RevId: 308294748\n\nd14bf59a446c14ef16e9931ebfc8e63ab549bf07\n1. Updated the config file names.\n2. Added a group_by field to the ListBuildsRequest.\n\nPiperOrigin-RevId: 308157960\n\n0d7c3565dd942d0cc41b16e895046486ae29e44e\nbazel: update gapic-generator-go to v0.13.3 in WORKSPACE\n\nChanges include:\n- change plugin use of Unmarshal to be compatible with golang/protobuf v1.4.0\n\nPiperOrigin-RevId: 308113536\n\n1d520eaa7bbd8b40f53942ff03b5496fff887b53\nfeat: Publish ListEnvironments for Dialogflow v2/v2beta1 library.\ndocs: Clarify WebhookResponse fields for Dialogflow v2/v2beta1 library.\n\nPiperOrigin-RevId: 307849529\n\nb3bcfd059ec684445a38db693f6e36f14a1d2618\nfix(google/maps/routes): move gapic targets to match Routes Preferred API\n\nThe Routes Preferred API is not the same as the legacy Routes API. This moves\nthe client library to make a more clear distinction between the two. The\ngenerated clients in google/maps/routespreferred/v1 still have a dependency on\nthe open source libraries published from the protos in\ngoogle/maps/routes/v1.\n\nThe client libraries for languages other than Go and Java have been removed\nsince they are currently broken and were before this change. No gapic targets\nremain in google/maps/routes/v1 except for the Java proto and grpc assembly.\nProtos for Go are automatically published through a different process. See\nhttps://github.com/googleapis/go-genproto.\n\nPiperOrigin-RevId: 307838123\n\n862cd840dbb0101a0630913217bf8b6d4101c84c\nchore: Update gapic-generator version\nThe updated version is required to migrate Python clients generation from artman to bazel.\n\nPiperOrigin-RevId: 307739946\n\n2bf9f22da3f101aeb536e1e88fe036323b8e9188\nchore: enable gapicv2 for bigquery/reservation/v1beta API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 307654927\n\n012c553112fcceb7b69822e24335575bf99ec62b\nfeat: Adding Retry policy for OS Config V1 AgentEndpointService\n\nPiperOrigin-RevId: 307647669\n\n45b363d3ab4692115cc5018eb26dcdaa49b320a8\nRefactor the CEL protos to reflect their use as cross-language\ndata representations used within various open source libraries.\n\nThere is no CEL Google API per se, and as such any reference to\none has been removed from the proto libraries including the GAPIC\nclient code generation.\n\nThere is a gRPC service defined among the protos which is used for\ndriving conformance testing in a cross-language compatible manner.\n\nPiperOrigin-RevId: 307642893\n\n" } }, { - "template": { - "name": "python_library", - "origin": "synthtool.gcp", - "version": "2020.2.4" + "git": { + "name": "synthtool", + "remote": "https://github.com/googleapis/synthtool.git", + "sha": "01b6f23d24b27878b48667ce597876d66b59780e", + "log": "01b6f23d24b27878b48667ce597876d66b59780e\nfix(python): install testutils from pypi (#503)\n\nhttps://pypi.org/project/google-cloud-testutils/\n716f741f2d307b48cbe8a5bc3bc883571212344a\nfix(python): adjust regex for fix_pb2_headers (#500)\n\nFixes regex and updates copyright year to 2020. \n\nBefore:\n```python\n# -*- coding: utf-8 -*-\n\n# Generated by the protocol buffer compiler. DO NOT EDIT!\n# source: google/type/timeofday.proto\n```\n\nAfter:\n```python\n# -*- coding: utf-8 -*-\n\n# Copyright 2020 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# Generated by the protocol buffer compiler. DO NOT EDIT!\n# source: google/type/timeofday.proto\n```\n21ce80f9d4785dc75aa36d26944bddd5a1b7e25b\nfeat: better Node.js postprocessing (#498)\n\n* feat: better Node.js postprocessing\n\n* docs: docstring for is_gapic_library\n\n* PR feedback\n\n* pass parameter by name\n\nCo-authored-by: Jeffrey Rennie \nCo-authored-by: Benjamin E. Coe \n" } } ],