google-cloud-modelarmor 0.2.2__tar.gz → 0.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- google_cloud_modelarmor-0.2.3/MANIFEST.in +20 -0
- {google_cloud_modelarmor-0.2.2/google_cloud_modelarmor.egg-info → google_cloud_modelarmor-0.2.3}/PKG-INFO +3 -3
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/README.rst +2 -2
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor/gapic_version.py +1 -1
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor_v1/gapic_version.py +1 -1
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor_v1/services/model_armor/transports/grpc.py +1 -2
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor_v1/types/service.py +1 -1
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3/google_cloud_modelarmor.egg-info}/PKG-INFO +3 -3
- google_cloud_modelarmor-0.2.2/MANIFEST.in +0 -25
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/LICENSE +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor/__init__.py +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor/py.typed +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor_v1/__init__.py +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor_v1/gapic_metadata.json +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor_v1/py.typed +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor_v1/services/__init__.py +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor_v1/services/model_armor/__init__.py +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor_v1/services/model_armor/async_client.py +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor_v1/services/model_armor/client.py +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor_v1/services/model_armor/pagers.py +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor_v1/services/model_armor/transports/__init__.py +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor_v1/services/model_armor/transports/base.py +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor_v1/services/model_armor/transports/grpc_asyncio.py +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor_v1/services/model_armor/transports/rest.py +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor_v1/services/model_armor/transports/rest_base.py +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor_v1/types/__init__.py +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google_cloud_modelarmor.egg-info/SOURCES.txt +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google_cloud_modelarmor.egg-info/dependency_links.txt +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google_cloud_modelarmor.egg-info/not-zip-safe +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google_cloud_modelarmor.egg-info/requires.txt +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google_cloud_modelarmor.egg-info/top_level.txt +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/setup.cfg +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/setup.py +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/tests/__init__.py +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/tests/unit/__init__.py +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/tests/unit/gapic/__init__.py +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/tests/unit/gapic/modelarmor_v1/__init__.py +0 -0
- {google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/tests/unit/gapic/modelarmor_v1/test_model_armor.py +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2025 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
16
|
+
include README.rst LICENSE
|
|
17
|
+
recursive-include google *.py *.pyi *.json *.proto py.typed
|
|
18
|
+
recursive-include tests *
|
|
19
|
+
global-exclude *.py[co]
|
|
20
|
+
global-exclude __pycache__
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: google-cloud-modelarmor
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Google Cloud Modelarmor API client library
|
|
5
5
|
Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-modelarmor
|
|
6
6
|
Author: Google LLC
|
|
@@ -193,7 +193,7 @@ Code-Based Examples
|
|
|
193
193
|
|
|
194
194
|
import logging
|
|
195
195
|
|
|
196
|
-
from google.cloud
|
|
196
|
+
from google.cloud import library_v1
|
|
197
197
|
|
|
198
198
|
base_logger = logging.getLogger("google")
|
|
199
199
|
base_logger.addHandler(logging.StreamHandler())
|
|
@@ -205,7 +205,7 @@ Code-Based Examples
|
|
|
205
205
|
|
|
206
206
|
import logging
|
|
207
207
|
|
|
208
|
-
from google.cloud
|
|
208
|
+
from google.cloud import library_v1
|
|
209
209
|
|
|
210
210
|
base_logger = logging.getLogger("google.cloud.library_v1")
|
|
211
211
|
base_logger.addHandler(logging.StreamHandler())
|
|
@@ -162,7 +162,7 @@ Code-Based Examples
|
|
|
162
162
|
|
|
163
163
|
import logging
|
|
164
164
|
|
|
165
|
-
from google.cloud
|
|
165
|
+
from google.cloud import library_v1
|
|
166
166
|
|
|
167
167
|
base_logger = logging.getLogger("google")
|
|
168
168
|
base_logger.addHandler(logging.StreamHandler())
|
|
@@ -174,7 +174,7 @@ Code-Based Examples
|
|
|
174
174
|
|
|
175
175
|
import logging
|
|
176
176
|
|
|
177
|
-
from google.cloud
|
|
177
|
+
from google.cloud import library_v1
|
|
178
178
|
|
|
179
179
|
base_logger = logging.getLogger("google.cloud.library_v1")
|
|
180
180
|
base_logger.addHandler(logging.StreamHandler())
|
|
@@ -71,12 +71,11 @@ class _LoggingClientInterceptor(grpc.UnaryUnaryClientInterceptor): # pragma: NO
|
|
|
71
71
|
f"Sending request for {client_call_details.method}",
|
|
72
72
|
extra={
|
|
73
73
|
"serviceName": "google.cloud.modelarmor.v1.ModelArmor",
|
|
74
|
-
"rpcName": client_call_details.method,
|
|
74
|
+
"rpcName": str(client_call_details.method),
|
|
75
75
|
"request": grpc_request,
|
|
76
76
|
"metadata": grpc_request["metadata"],
|
|
77
77
|
},
|
|
78
78
|
)
|
|
79
|
-
|
|
80
79
|
response = continuation(client_call_details, request)
|
|
81
80
|
if logging_enabled: # pragma: NO COVER
|
|
82
81
|
response_metadata = response.trailing_metadata()
|
|
@@ -135,7 +135,7 @@ class DetectionConfidenceLevel(proto.Enum):
|
|
|
135
135
|
|
|
136
136
|
Values:
|
|
137
137
|
DETECTION_CONFIDENCE_LEVEL_UNSPECIFIED (0):
|
|
138
|
-
Same as
|
|
138
|
+
Same as MEDIUM_AND_ABOVE.
|
|
139
139
|
LOW_AND_ABOVE (1):
|
|
140
140
|
Highest chance of a false positive.
|
|
141
141
|
MEDIUM_AND_ABOVE (2):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: google-cloud-modelarmor
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Google Cloud Modelarmor API client library
|
|
5
5
|
Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-modelarmor
|
|
6
6
|
Author: Google LLC
|
|
@@ -193,7 +193,7 @@ Code-Based Examples
|
|
|
193
193
|
|
|
194
194
|
import logging
|
|
195
195
|
|
|
196
|
-
from google.cloud
|
|
196
|
+
from google.cloud import library_v1
|
|
197
197
|
|
|
198
198
|
base_logger = logging.getLogger("google")
|
|
199
199
|
base_logger.addHandler(logging.StreamHandler())
|
|
@@ -205,7 +205,7 @@ Code-Based Examples
|
|
|
205
205
|
|
|
206
206
|
import logging
|
|
207
207
|
|
|
208
|
-
from google.cloud
|
|
208
|
+
from google.cloud import library_v1
|
|
209
209
|
|
|
210
210
|
base_logger = logging.getLogger("google.cloud.library_v1")
|
|
211
211
|
base_logger.addHandler(logging.StreamHandler())
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
#
|
|
3
|
-
# Copyright 2024 Google LLC
|
|
4
|
-
#
|
|
5
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
# you may not use this file except in compliance with the License.
|
|
7
|
-
# You may obtain a copy of the License at
|
|
8
|
-
#
|
|
9
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
#
|
|
11
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
# See the License for the specific language governing permissions and
|
|
15
|
-
# limitations under the License.
|
|
16
|
-
|
|
17
|
-
# Generated by synthtool. DO NOT EDIT!
|
|
18
|
-
include README.rst LICENSE
|
|
19
|
-
recursive-include google *.json *.proto py.typed
|
|
20
|
-
recursive-include tests *
|
|
21
|
-
global-exclude *.py[co]
|
|
22
|
-
global-exclude __pycache__
|
|
23
|
-
|
|
24
|
-
# Exclude scripts for samples readmegen
|
|
25
|
-
prune scripts/readme-gen
|
|
File without changes
|
{google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor/__init__.py
RENAMED
|
File without changes
|
{google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/google/cloud/modelarmor_v1/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_modelarmor-0.2.2 → google_cloud_modelarmor-0.2.3}/tests/unit/gapic/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|