Reference documentation and code samples for the Google Cloud Model Armor V1 Client class MultiLanguageDetectionMetadata.
Message for Enabling Multi Language Detection.
Generated from protobuf message google.cloud.modelarmor.v1.MultiLanguageDetectionMetadata
Namespace
Google \ Cloud \ ModelArmor \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ source_language
string
Optional. Optional Source language of the user prompt. If multi-language detection is enabled but language is not set in that case we would automatically detect the source language.
↳ enable_multi_language_detection
bool
Optional. Enable detection of multi-language prompts and responses.
getSourceLanguage
Optional. Optional Source language of the user prompt.
If multi-language detection is enabled but language is not set in that case we would automatically detect the source language.
string
setSourceLanguage
Optional. Optional Source language of the user prompt.
If multi-language detection is enabled but language is not set in that case we would automatically detect the source language.
var
string
$this
getEnableMultiLanguageDetection
Optional. Enable detection of multi-language prompts and responses.
bool
setEnableMultiLanguageDetection
Optional. Enable detection of multi-language prompts and responses.
var
bool
$this