From b97e7703cb01183053da3220796781142e8cbedb Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 25 Jan 2023 12:40:08 -0500 Subject: [PATCH] chore: Update gapic-generator-python to v1.8.2 (#230) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Update gapic-generator-python to v1.8.2 PiperOrigin-RevId: 504289125 Source-Link: https://github.com/googleapis/googleapis/commit/38a48a44a44279e9cf9f2f864b588958a2d87491 Source-Link: https://github.com/googleapis/googleapis-gen/commit/b2dc22663dbe47a972c8d8c2f8a4df013dafdcbc Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJkYzIyNjYzZGJlNDdhOTcyYzhkOGMyZjhhNGRmMDEzZGFmZGNiYyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- packages/grafeas/.coveragerc | 1 + .../grafeas/grafeas/grafeas_v1/__init__.py | 2 +- .../grafeas/grafeas/grafeas_v1/types/cvss.py | 102 +++++++++--------- .../snippet_metadata_grafeas.v1.json | 2 +- 4 files changed, 54 insertions(+), 53 deletions(-) diff --git a/packages/grafeas/.coveragerc b/packages/grafeas/.coveragerc index f9c3f1c81dea..4e55acc51c44 100644 --- a/packages/grafeas/.coveragerc +++ b/packages/grafeas/.coveragerc @@ -5,6 +5,7 @@ branch = True show_missing = True omit = grafeas/grafeas/__init__.py + grafeas/grafeas/gapic_version.py exclude_lines = # Re-enable the standard pragma pragma: NO COVER diff --git a/packages/grafeas/grafeas/grafeas_v1/__init__.py b/packages/grafeas/grafeas/grafeas_v1/__init__.py index a51ee7e47d40..8e7b564594ab 100644 --- a/packages/grafeas/grafeas/grafeas_v1/__init__.py +++ b/packages/grafeas/grafeas/grafeas_v1/__init__.py @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -from grafeas.grafeas import gapic_version as package_version +from grafeas.grafeas_v1 import gapic_version as package_version __version__ = package_version.__version__ diff --git a/packages/grafeas/grafeas/grafeas_v1/types/cvss.py b/packages/grafeas/grafeas/grafeas_v1/types/cvss.py index 72c42f6b9944..f773e0c0a3b8 100644 --- a/packages/grafeas/grafeas/grafeas_v1/types/cvss.py +++ b/packages/grafeas/grafeas/grafeas_v1/types/cvss.py @@ -33,11 +33,11 @@ class CVSSVersion(proto.Enum): Values: CVSS_VERSION_UNSPECIFIED (0): - + No description available. CVSS_VERSION_2 (1): - + No description available. CVSS_VERSION_3 (2): - + No description available. """ CVSS_VERSION_UNSPECIFIED = 0 CVSS_VERSION_2 = 1 @@ -83,15 +83,15 @@ class AttackVector(proto.Enum): Values: ATTACK_VECTOR_UNSPECIFIED (0): - + No description available. ATTACK_VECTOR_NETWORK (1): - + No description available. ATTACK_VECTOR_ADJACENT (2): - + No description available. ATTACK_VECTOR_LOCAL (3): - + No description available. ATTACK_VECTOR_PHYSICAL (4): - + No description available. """ ATTACK_VECTOR_UNSPECIFIED = 0 ATTACK_VECTOR_NETWORK = 1 @@ -104,11 +104,11 @@ class AttackComplexity(proto.Enum): Values: ATTACK_COMPLEXITY_UNSPECIFIED (0): - + No description available. ATTACK_COMPLEXITY_LOW (1): - + No description available. ATTACK_COMPLEXITY_HIGH (2): - + No description available. """ ATTACK_COMPLEXITY_UNSPECIFIED = 0 ATTACK_COMPLEXITY_LOW = 1 @@ -119,13 +119,13 @@ class PrivilegesRequired(proto.Enum): Values: PRIVILEGES_REQUIRED_UNSPECIFIED (0): - + No description available. PRIVILEGES_REQUIRED_NONE (1): - + No description available. PRIVILEGES_REQUIRED_LOW (2): - + No description available. PRIVILEGES_REQUIRED_HIGH (3): - + No description available. """ PRIVILEGES_REQUIRED_UNSPECIFIED = 0 PRIVILEGES_REQUIRED_NONE = 1 @@ -137,11 +137,11 @@ class UserInteraction(proto.Enum): Values: USER_INTERACTION_UNSPECIFIED (0): - + No description available. USER_INTERACTION_NONE (1): - + No description available. USER_INTERACTION_REQUIRED (2): - + No description available. """ USER_INTERACTION_UNSPECIFIED = 0 USER_INTERACTION_NONE = 1 @@ -152,11 +152,11 @@ class Scope(proto.Enum): Values: SCOPE_UNSPECIFIED (0): - + No description available. SCOPE_UNCHANGED (1): - + No description available. SCOPE_CHANGED (2): - + No description available. """ SCOPE_UNSPECIFIED = 0 SCOPE_UNCHANGED = 1 @@ -167,13 +167,13 @@ class Impact(proto.Enum): Values: IMPACT_UNSPECIFIED (0): - + No description available. IMPACT_HIGH (1): - + No description available. IMPACT_LOW (2): - + No description available. IMPACT_NONE (3): - + No description available. """ IMPACT_UNSPECIFIED = 0 IMPACT_HIGH = 1 @@ -278,15 +278,15 @@ class AttackVector(proto.Enum): Values: ATTACK_VECTOR_UNSPECIFIED (0): - + No description available. ATTACK_VECTOR_NETWORK (1): - + No description available. ATTACK_VECTOR_ADJACENT (2): - + No description available. ATTACK_VECTOR_LOCAL (3): - + No description available. ATTACK_VECTOR_PHYSICAL (4): - + No description available. """ ATTACK_VECTOR_UNSPECIFIED = 0 ATTACK_VECTOR_NETWORK = 1 @@ -299,11 +299,11 @@ class AttackComplexity(proto.Enum): Values: ATTACK_COMPLEXITY_UNSPECIFIED (0): - + No description available. ATTACK_COMPLEXITY_LOW (1): - + No description available. ATTACK_COMPLEXITY_HIGH (2): - + No description available. """ ATTACK_COMPLEXITY_UNSPECIFIED = 0 ATTACK_COMPLEXITY_LOW = 1 @@ -314,13 +314,13 @@ class Authentication(proto.Enum): Values: AUTHENTICATION_UNSPECIFIED (0): - + No description available. AUTHENTICATION_MULTIPLE (1): - + No description available. AUTHENTICATION_SINGLE (2): - + No description available. AUTHENTICATION_NONE (3): - + No description available. """ AUTHENTICATION_UNSPECIFIED = 0 AUTHENTICATION_MULTIPLE = 1 @@ -332,13 +332,13 @@ class PrivilegesRequired(proto.Enum): Values: PRIVILEGES_REQUIRED_UNSPECIFIED (0): - + No description available. PRIVILEGES_REQUIRED_NONE (1): - + No description available. PRIVILEGES_REQUIRED_LOW (2): - + No description available. PRIVILEGES_REQUIRED_HIGH (3): - + No description available. """ PRIVILEGES_REQUIRED_UNSPECIFIED = 0 PRIVILEGES_REQUIRED_NONE = 1 @@ -350,11 +350,11 @@ class UserInteraction(proto.Enum): Values: USER_INTERACTION_UNSPECIFIED (0): - + No description available. USER_INTERACTION_NONE (1): - + No description available. USER_INTERACTION_REQUIRED (2): - + No description available. """ USER_INTERACTION_UNSPECIFIED = 0 USER_INTERACTION_NONE = 1 @@ -365,11 +365,11 @@ class Scope(proto.Enum): Values: SCOPE_UNSPECIFIED (0): - + No description available. SCOPE_UNCHANGED (1): - + No description available. SCOPE_CHANGED (2): - + No description available. """ SCOPE_UNSPECIFIED = 0 SCOPE_UNCHANGED = 1 @@ -380,13 +380,13 @@ class Impact(proto.Enum): Values: IMPACT_UNSPECIFIED (0): - + No description available. IMPACT_HIGH (1): - + No description available. IMPACT_LOW (2): - + No description available. IMPACT_NONE (3): - + No description available. """ IMPACT_UNSPECIFIED = 0 IMPACT_HIGH = 1 diff --git a/packages/grafeas/samples/generated_samples/snippet_metadata_grafeas.v1.json b/packages/grafeas/samples/generated_samples/snippet_metadata_grafeas.v1.json index b13d0cff6dec..dc3e1cc8b7ee 100644 --- a/packages/grafeas/samples/generated_samples/snippet_metadata_grafeas.v1.json +++ b/packages/grafeas/samples/generated_samples/snippet_metadata_grafeas.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "grafeas", - "version": "1.8.1" + "version": "0.1.0" }, "snippets": [ {