Google Cloud Model Armor V1beta Client - Class MultiLanguageDetection (0.3.1)

Reference documentation and code samples for the Google Cloud Model Armor V1beta Client class MultiLanguageDetection.

Metadata to enable multi language detection via template.

Generated from protobuf message google.cloud.modelarmor.v1beta.Template.TemplateMetadata.MultiLanguageDetection

Namespace

Google \ Cloud \ ModelArmor \ V1beta \ Template \ TemplateMetadata

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enable_multi_language_detection bool

Required. If true, multi language detection will be enabled.

getEnableMultiLanguageDetection

Required. If true, multi language detection will be enabled.

Returns
Type Description
bool

setEnableMultiLanguageDetection

Required. If true, multi language detection will be enabled.

Parameter
Name Description
var bool
Returns
Type Description
$this