google-cloud-modelarmor 0.2.7__tar.gz → 0.3.0__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.
Files changed (56) hide show
  1. {google_cloud_modelarmor-0.2.7/google_cloud_modelarmor.egg-info → google_cloud_modelarmor-0.3.0}/PKG-INFO +5 -2
  2. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/README.rst +1 -1
  3. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor/gapic_version.py +1 -1
  4. {google_cloud_modelarmor-0.2.7/google/cloud/modelarmor_v1beta → google_cloud_modelarmor-0.3.0/google/cloud/modelarmor_v1}/gapic_version.py +1 -1
  5. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1/services/model_armor/transports/base.py +3 -2
  6. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1/services/model_armor/transports/grpc.py +5 -3
  7. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1/services/model_armor/transports/grpc_asyncio.py +5 -3
  8. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1/services/model_armor/transports/rest.py +3 -2
  9. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1/types/service.py +28 -1
  10. {google_cloud_modelarmor-0.2.7/google/cloud/modelarmor_v1 → google_cloud_modelarmor-0.3.0/google/cloud/modelarmor_v1beta}/gapic_version.py +1 -1
  11. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1beta/services/model_armor/transports/base.py +3 -2
  12. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1beta/services/model_armor/transports/grpc.py +5 -3
  13. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1beta/services/model_armor/transports/grpc_asyncio.py +5 -3
  14. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1beta/services/model_armor/transports/rest.py +3 -2
  15. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1beta/types/service.py +28 -1
  16. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0/google_cloud_modelarmor.egg-info}/PKG-INFO +5 -2
  17. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google_cloud_modelarmor.egg-info/requires.txt +4 -0
  18. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/setup.py +3 -0
  19. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/tests/unit/gapic/modelarmor_v1/test_model_armor.py +3 -1
  20. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/tests/unit/gapic/modelarmor_v1beta/test_model_armor.py +3 -1
  21. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/LICENSE +0 -0
  22. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/MANIFEST.in +0 -0
  23. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor/__init__.py +0 -0
  24. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor/py.typed +0 -0
  25. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1/__init__.py +0 -0
  26. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1/gapic_metadata.json +0 -0
  27. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1/py.typed +0 -0
  28. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1/services/__init__.py +0 -0
  29. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1/services/model_armor/__init__.py +0 -0
  30. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1/services/model_armor/async_client.py +0 -0
  31. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1/services/model_armor/client.py +0 -0
  32. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1/services/model_armor/pagers.py +0 -0
  33. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1/services/model_armor/transports/__init__.py +0 -0
  34. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1/services/model_armor/transports/rest_base.py +0 -0
  35. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1/types/__init__.py +0 -0
  36. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1beta/__init__.py +0 -0
  37. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1beta/gapic_metadata.json +0 -0
  38. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1beta/py.typed +0 -0
  39. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1beta/services/__init__.py +0 -0
  40. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1beta/services/model_armor/__init__.py +0 -0
  41. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1beta/services/model_armor/async_client.py +0 -0
  42. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1beta/services/model_armor/client.py +0 -0
  43. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1beta/services/model_armor/pagers.py +0 -0
  44. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1beta/services/model_armor/transports/__init__.py +0 -0
  45. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1beta/services/model_armor/transports/rest_base.py +0 -0
  46. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google/cloud/modelarmor_v1beta/types/__init__.py +0 -0
  47. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google_cloud_modelarmor.egg-info/SOURCES.txt +0 -0
  48. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google_cloud_modelarmor.egg-info/dependency_links.txt +0 -0
  49. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google_cloud_modelarmor.egg-info/not-zip-safe +0 -0
  50. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/google_cloud_modelarmor.egg-info/top_level.txt +0 -0
  51. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/setup.cfg +0 -0
  52. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/tests/__init__.py +0 -0
  53. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/tests/unit/__init__.py +0 -0
  54. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/tests/unit/gapic/__init__.py +0 -0
  55. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/tests/unit/gapic/modelarmor_v1/__init__.py +0 -0
  56. {google_cloud_modelarmor-0.2.7 → google_cloud_modelarmor-0.3.0}/tests/unit/gapic/modelarmor_v1beta/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-cloud-modelarmor
3
- Version: 0.2.7
3
+ Version: 0.3.0
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
@@ -19,12 +19,15 @@ Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
20
  Classifier: Programming Language :: Python :: 3.12
21
21
  Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Programming Language :: Python :: 3.14
22
23
  Classifier: Operating System :: OS Independent
23
24
  Classifier: Topic :: Internet
24
25
  Requires-Python: >=3.7
25
26
  License-File: LICENSE
26
27
  Requires-Dist: google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0,>=1.34.1
27
28
  Requires-Dist: google-auth!=2.24.0,!=2.25.0,<3.0.0,>=2.14.1
29
+ Requires-Dist: grpcio<2.0.0,>=1.33.2
30
+ Requires-Dist: grpcio<2.0.0,>=1.75.1; python_version >= "3.14"
28
31
  Requires-Dist: proto-plus<2.0.0,>=1.22.3
29
32
  Requires-Dist: proto-plus<2.0.0,>=1.25.0; python_version >= "3.13"
30
33
  Requires-Dist: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<7.0.0,>=3.20.2
@@ -103,7 +106,7 @@ Supported Python Versions
103
106
  Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
104
107
  Python.
105
108
 
106
- Python >= 3.7
109
+ Python >= 3.7, including 3.14
107
110
 
108
111
  .. _active: https://devguide.python.org/devcycle/#in-development-main-branch
109
112
  .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
@@ -61,7 +61,7 @@ Supported Python Versions
61
61
  Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
62
62
  Python.
63
63
 
64
- Python >= 3.7
64
+ Python >= 3.7, including 3.14
65
65
 
66
66
  .. _active: https://devguide.python.org/devcycle/#in-development-main-branch
67
67
  .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "0.2.7" # {x-release-please-version}
16
+ __version__ = "0.3.0" # {x-release-please-version}
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "0.2.7" # {x-release-please-version}
16
+ __version__ = "0.3.0" # {x-release-please-version}
@@ -68,9 +68,10 @@ class ModelArmorTransport(abc.ABC):
68
68
  credentials identify the application to the service; if none
69
69
  are specified, the client will attempt to ascertain the
70
70
  credentials from the environment.
71
- credentials_file (Optional[str]): A file with credentials that can
71
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
72
72
  be loaded with :func:`google.auth.load_credentials_from_file`.
73
- This argument is mutually exclusive with credentials.
73
+ This argument is mutually exclusive with credentials. This argument will be
74
+ removed in the next major version of this library.
74
75
  scopes (Optional[Sequence[str]]): A list of scopes.
75
76
  quota_project_id (Optional[str]): An optional project to use for billing
76
77
  and quota.
@@ -152,9 +152,10 @@ class ModelArmorGrpcTransport(ModelArmorTransport):
152
152
  are specified, the client will attempt to ascertain the
153
153
  credentials from the environment.
154
154
  This argument is ignored if a ``channel`` instance is provided.
155
- credentials_file (Optional[str]): A file with credentials that can
155
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
156
156
  be loaded with :func:`google.auth.load_credentials_from_file`.
157
157
  This argument is ignored if a ``channel`` instance is provided.
158
+ This argument will be removed in the next major version of this library.
158
159
  scopes (Optional(Sequence[str])): A list of scopes. This argument is
159
160
  ignored if a ``channel`` instance is provided.
160
161
  channel (Optional[Union[grpc.Channel, Callable[..., grpc.Channel]]]):
@@ -287,9 +288,10 @@ class ModelArmorGrpcTransport(ModelArmorTransport):
287
288
  credentials identify this application to the service. If
288
289
  none are specified, the client will attempt to ascertain
289
290
  the credentials from the environment.
290
- credentials_file (Optional[str]): A file with credentials that can
291
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
291
292
  be loaded with :func:`google.auth.load_credentials_from_file`.
292
- This argument is mutually exclusive with credentials.
293
+ This argument is mutually exclusive with credentials. This argument will be
294
+ removed in the next major version of this library.
293
295
  scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
294
296
  service. These are only used when credentials are not specified and
295
297
  are passed to :func:`google.auth.default`.
@@ -149,8 +149,9 @@ class ModelArmorGrpcAsyncIOTransport(ModelArmorTransport):
149
149
  credentials identify this application to the service. If
150
150
  none are specified, the client will attempt to ascertain
151
151
  the credentials from the environment.
152
- credentials_file (Optional[str]): A file with credentials that can
153
- be loaded with :func:`google.auth.load_credentials_from_file`.
152
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
153
+ be loaded with :func:`google.auth.load_credentials_from_file`. This argument will be
154
+ removed in the next major version of this library.
154
155
  scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
155
156
  service. These are only used when credentials are not specified and
156
157
  are passed to :func:`google.auth.default`.
@@ -201,9 +202,10 @@ class ModelArmorGrpcAsyncIOTransport(ModelArmorTransport):
201
202
  are specified, the client will attempt to ascertain the
202
203
  credentials from the environment.
203
204
  This argument is ignored if a ``channel`` instance is provided.
204
- credentials_file (Optional[str]): A file with credentials that can
205
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
205
206
  be loaded with :func:`google.auth.load_credentials_from_file`.
206
207
  This argument is ignored if a ``channel`` instance is provided.
208
+ This argument will be removed in the next major version of this library.
207
209
  scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
208
210
  service. These are only used when credentials are not specified and
209
211
  are passed to :func:`google.auth.default`.
@@ -628,9 +628,10 @@ class ModelArmorRestTransport(_BaseModelArmorRestTransport):
628
628
  are specified, the client will attempt to ascertain the
629
629
  credentials from the environment.
630
630
 
631
- credentials_file (Optional[str]): A file with credentials that can
631
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
632
632
  be loaded with :func:`google.auth.load_credentials_from_file`.
633
- This argument is ignored if ``channel`` is provided.
633
+ This argument is ignored if ``channel`` is provided. This argument will be
634
+ removed in the next major version of this library.
634
635
  scopes (Optional(Sequence[str])): A list of scopes. This argument is
635
636
  ignored if ``channel`` is provided.
636
637
  client_cert_source_for_mtls (Callable[[], Tuple[bytes, bytes]]): Client
@@ -401,7 +401,34 @@ class FloorSetting(proto.Message):
401
401
  AI_PLATFORM = 1
402
402
 
403
403
  class FloorSettingMetadata(proto.Message):
404
- r"""message describing FloorSetting Metadata"""
404
+ r"""message describing FloorSetting Metadata
405
+
406
+ Attributes:
407
+ multi_language_detection (google.cloud.modelarmor_v1.types.FloorSetting.FloorSettingMetadata.MultiLanguageDetection):
408
+ Optional. Metadata for multi language
409
+ detection.
410
+ """
411
+
412
+ class MultiLanguageDetection(proto.Message):
413
+ r"""Metadata to enable multi language detection via floor
414
+ setting.
415
+
416
+ Attributes:
417
+ enable_multi_language_detection (bool):
418
+ Required. If true, multi language detection
419
+ will be enabled.
420
+ """
421
+
422
+ enable_multi_language_detection: bool = proto.Field(
423
+ proto.BOOL,
424
+ number=1,
425
+ )
426
+
427
+ multi_language_detection: "FloorSetting.FloorSettingMetadata.MultiLanguageDetection" = proto.Field(
428
+ proto.MESSAGE,
429
+ number=1,
430
+ message="FloorSetting.FloorSettingMetadata.MultiLanguageDetection",
431
+ )
405
432
 
406
433
  name: str = proto.Field(
407
434
  proto.STRING,
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "0.2.7" # {x-release-please-version}
16
+ __version__ = "0.3.0" # {x-release-please-version}
@@ -68,9 +68,10 @@ class ModelArmorTransport(abc.ABC):
68
68
  credentials identify the application to the service; if none
69
69
  are specified, the client will attempt to ascertain the
70
70
  credentials from the environment.
71
- credentials_file (Optional[str]): A file with credentials that can
71
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
72
72
  be loaded with :func:`google.auth.load_credentials_from_file`.
73
- This argument is mutually exclusive with credentials.
73
+ This argument is mutually exclusive with credentials. This argument will be
74
+ removed in the next major version of this library.
74
75
  scopes (Optional[Sequence[str]]): A list of scopes.
75
76
  quota_project_id (Optional[str]): An optional project to use for billing
76
77
  and quota.
@@ -152,9 +152,10 @@ class ModelArmorGrpcTransport(ModelArmorTransport):
152
152
  are specified, the client will attempt to ascertain the
153
153
  credentials from the environment.
154
154
  This argument is ignored if a ``channel`` instance is provided.
155
- credentials_file (Optional[str]): A file with credentials that can
155
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
156
156
  be loaded with :func:`google.auth.load_credentials_from_file`.
157
157
  This argument is ignored if a ``channel`` instance is provided.
158
+ This argument will be removed in the next major version of this library.
158
159
  scopes (Optional(Sequence[str])): A list of scopes. This argument is
159
160
  ignored if a ``channel`` instance is provided.
160
161
  channel (Optional[Union[grpc.Channel, Callable[..., grpc.Channel]]]):
@@ -287,9 +288,10 @@ class ModelArmorGrpcTransport(ModelArmorTransport):
287
288
  credentials identify this application to the service. If
288
289
  none are specified, the client will attempt to ascertain
289
290
  the credentials from the environment.
290
- credentials_file (Optional[str]): A file with credentials that can
291
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
291
292
  be loaded with :func:`google.auth.load_credentials_from_file`.
292
- This argument is mutually exclusive with credentials.
293
+ This argument is mutually exclusive with credentials. This argument will be
294
+ removed in the next major version of this library.
293
295
  scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
294
296
  service. These are only used when credentials are not specified and
295
297
  are passed to :func:`google.auth.default`.
@@ -149,8 +149,9 @@ class ModelArmorGrpcAsyncIOTransport(ModelArmorTransport):
149
149
  credentials identify this application to the service. If
150
150
  none are specified, the client will attempt to ascertain
151
151
  the credentials from the environment.
152
- credentials_file (Optional[str]): A file with credentials that can
153
- be loaded with :func:`google.auth.load_credentials_from_file`.
152
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
153
+ be loaded with :func:`google.auth.load_credentials_from_file`. This argument will be
154
+ removed in the next major version of this library.
154
155
  scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
155
156
  service. These are only used when credentials are not specified and
156
157
  are passed to :func:`google.auth.default`.
@@ -201,9 +202,10 @@ class ModelArmorGrpcAsyncIOTransport(ModelArmorTransport):
201
202
  are specified, the client will attempt to ascertain the
202
203
  credentials from the environment.
203
204
  This argument is ignored if a ``channel`` instance is provided.
204
- credentials_file (Optional[str]): A file with credentials that can
205
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
205
206
  be loaded with :func:`google.auth.load_credentials_from_file`.
206
207
  This argument is ignored if a ``channel`` instance is provided.
208
+ This argument will be removed in the next major version of this library.
207
209
  scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
208
210
  service. These are only used when credentials are not specified and
209
211
  are passed to :func:`google.auth.default`.
@@ -628,9 +628,10 @@ class ModelArmorRestTransport(_BaseModelArmorRestTransport):
628
628
  are specified, the client will attempt to ascertain the
629
629
  credentials from the environment.
630
630
 
631
- credentials_file (Optional[str]): A file with credentials that can
631
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
632
632
  be loaded with :func:`google.auth.load_credentials_from_file`.
633
- This argument is ignored if ``channel`` is provided.
633
+ This argument is ignored if ``channel`` is provided. This argument will be
634
+ removed in the next major version of this library.
634
635
  scopes (Optional(Sequence[str])): A list of scopes. This argument is
635
636
  ignored if ``channel`` is provided.
636
637
  client_cert_source_for_mtls (Callable[[], Tuple[bytes, bytes]]): Client
@@ -401,7 +401,34 @@ class FloorSetting(proto.Message):
401
401
  AI_PLATFORM = 1
402
402
 
403
403
  class FloorSettingMetadata(proto.Message):
404
- r"""message describing FloorSetting Metadata"""
404
+ r"""message describing FloorSetting Metadata
405
+
406
+ Attributes:
407
+ multi_language_detection (google.cloud.modelarmor_v1beta.types.FloorSetting.FloorSettingMetadata.MultiLanguageDetection):
408
+ Optional. Metadata for multi language
409
+ detection.
410
+ """
411
+
412
+ class MultiLanguageDetection(proto.Message):
413
+ r"""Metadata to enable multi language detection via floor
414
+ setting.
415
+
416
+ Attributes:
417
+ enable_multi_language_detection (bool):
418
+ Required. If true, multi language detection
419
+ will be enabled.
420
+ """
421
+
422
+ enable_multi_language_detection: bool = proto.Field(
423
+ proto.BOOL,
424
+ number=1,
425
+ )
426
+
427
+ multi_language_detection: "FloorSetting.FloorSettingMetadata.MultiLanguageDetection" = proto.Field(
428
+ proto.MESSAGE,
429
+ number=1,
430
+ message="FloorSetting.FloorSettingMetadata.MultiLanguageDetection",
431
+ )
405
432
 
406
433
  name: str = proto.Field(
407
434
  proto.STRING,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-cloud-modelarmor
3
- Version: 0.2.7
3
+ Version: 0.3.0
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
@@ -19,12 +19,15 @@ Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
20
  Classifier: Programming Language :: Python :: 3.12
21
21
  Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Programming Language :: Python :: 3.14
22
23
  Classifier: Operating System :: OS Independent
23
24
  Classifier: Topic :: Internet
24
25
  Requires-Python: >=3.7
25
26
  License-File: LICENSE
26
27
  Requires-Dist: google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0,>=1.34.1
27
28
  Requires-Dist: google-auth!=2.24.0,!=2.25.0,<3.0.0,>=2.14.1
29
+ Requires-Dist: grpcio<2.0.0,>=1.33.2
30
+ Requires-Dist: grpcio<2.0.0,>=1.75.1; python_version >= "3.14"
28
31
  Requires-Dist: proto-plus<2.0.0,>=1.22.3
29
32
  Requires-Dist: proto-plus<2.0.0,>=1.25.0; python_version >= "3.13"
30
33
  Requires-Dist: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<7.0.0,>=3.20.2
@@ -103,7 +106,7 @@ Supported Python Versions
103
106
  Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
104
107
  Python.
105
108
 
106
- Python >= 3.7
109
+ Python >= 3.7, including 3.14
107
110
 
108
111
  .. _active: https://devguide.python.org/devcycle/#in-development-main-branch
109
112
  .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
@@ -1,7 +1,11 @@
1
1
  google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0,>=1.34.1
2
2
  google-auth!=2.24.0,!=2.25.0,<3.0.0,>=2.14.1
3
+ grpcio<2.0.0,>=1.33.2
3
4
  proto-plus<2.0.0,>=1.22.3
4
5
  protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<7.0.0,>=3.20.2
5
6
 
6
7
  [:python_version >= "3.13"]
7
8
  proto-plus<2.0.0,>=1.25.0
9
+
10
+ [:python_version >= "3.14"]
11
+ grpcio<2.0.0,>=1.75.1
@@ -43,6 +43,8 @@ dependencies = [
43
43
  # Exclude incompatible versions of `google-auth`
44
44
  # See https://github.com/googleapis/google-cloud-python/issues/12364
45
45
  "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",
46
+ "grpcio >= 1.33.2, < 2.0.0",
47
+ "grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
46
48
  "proto-plus >= 1.22.3, <2.0.0",
47
49
  "proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
48
50
  "protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
@@ -84,6 +86,7 @@ setuptools.setup(
84
86
  "Programming Language :: Python :: 3.11",
85
87
  "Programming Language :: Python :: 3.12",
86
88
  "Programming Language :: Python :: 3.13",
89
+ "Programming Language :: Python :: 3.14",
87
90
  "Operating System :: OS Independent",
88
91
  "Topic :: Internet",
89
92
  ],
@@ -7347,7 +7347,9 @@ def test_update_floor_setting_rest_call_success(request_type):
7347
7347
  "inspect_and_block": True,
7348
7348
  "enable_cloud_logging": True,
7349
7349
  },
7350
- "floor_setting_metadata": {},
7350
+ "floor_setting_metadata": {
7351
+ "multi_language_detection": {"enable_multi_language_detection": True}
7352
+ },
7351
7353
  }
7352
7354
  # The version of a generated dependency at test runtime may differ from the version used during generation.
7353
7355
  # Delete any fields which are not present in the current runtime dependency
@@ -7352,7 +7352,9 @@ def test_update_floor_setting_rest_call_success(request_type):
7352
7352
  "inspect_and_block": True,
7353
7353
  "enable_cloud_logging": True,
7354
7354
  },
7355
- "floor_setting_metadata": {},
7355
+ "floor_setting_metadata": {
7356
+ "multi_language_detection": {"enable_multi_language_detection": True}
7357
+ },
7356
7358
  }
7357
7359
  # The version of a generated dependency at test runtime may differ from the version used during generation.
7358
7360
  # Delete any fields which are not present in the current runtime dependency