Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.2.7" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.2.7" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,34 @@ class IntegratedService(proto.Enum):
AI_PLATFORM = 1

class FloorSettingMetadata(proto.Message):
r"""message describing FloorSetting Metadata"""
r"""message describing FloorSetting Metadata

Attributes:
multi_language_detection (google.cloud.modelarmor_v1.types.FloorSetting.FloorSettingMetadata.MultiLanguageDetection):
Optional. Metadata for multi language
detection.
"""

class MultiLanguageDetection(proto.Message):
r"""Metadata to enable multi language detection via floor
setting.

Attributes:
enable_multi_language_detection (bool):
Required. If true, multi language detection
will be enabled.
"""

enable_multi_language_detection: bool = proto.Field(
proto.BOOL,
number=1,
)

multi_language_detection: "FloorSetting.FloorSettingMetadata.MultiLanguageDetection" = proto.Field(
proto.MESSAGE,
number=1,
message="FloorSetting.FloorSettingMetadata.MultiLanguageDetection",
)

name: str = proto.Field(
proto.STRING,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.2.7" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,34 @@ class IntegratedService(proto.Enum):
AI_PLATFORM = 1

class FloorSettingMetadata(proto.Message):
r"""message describing FloorSetting Metadata"""
r"""message describing FloorSetting Metadata

Attributes:
multi_language_detection (google.cloud.modelarmor_v1beta.types.FloorSetting.FloorSettingMetadata.MultiLanguageDetection):
Optional. Metadata for multi language
detection.
"""

class MultiLanguageDetection(proto.Message):
r"""Metadata to enable multi language detection via floor
setting.

Attributes:
enable_multi_language_detection (bool):
Required. If true, multi language detection
will be enabled.
"""

enable_multi_language_detection: bool = proto.Field(
proto.BOOL,
number=1,
)

multi_language_detection: "FloorSetting.FloorSettingMetadata.MultiLanguageDetection" = proto.Field(
proto.MESSAGE,
number=1,
message="FloorSetting.FloorSettingMetadata.MultiLanguageDetection",
)

name: str = proto.Field(
proto.STRING,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-modelarmor",
"version": "0.2.7"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-modelarmor",
"version": "0.2.7"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7347,7 +7347,9 @@ def test_update_floor_setting_rest_call_success(request_type):
"inspect_and_block": True,
"enable_cloud_logging": True,
},
"floor_setting_metadata": {},
"floor_setting_metadata": {
"multi_language_detection": {"enable_multi_language_detection": True}
},
}
# The version of a generated dependency at test runtime may differ from the version used during generation.
# Delete any fields which are not present in the current runtime dependency
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7352,7 +7352,9 @@ def test_update_floor_setting_rest_call_success(request_type):
"inspect_and_block": True,
"enable_cloud_logging": True,
},
"floor_setting_metadata": {},
"floor_setting_metadata": {
"multi_language_detection": {"enable_multi_language_detection": True}
},
}
# The version of a generated dependency at test runtime may differ from the version used during generation.
# Delete any fields which are not present in the current runtime dependency
Expand Down
Loading