Google Cloud Model Armor V1 Client - Class MultiLanguageDetectionMetadata (0.3.1)

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 \ V1

Methods

Constructor.

Parameters
Name
Description
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.

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.

Returns
Type
Description
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.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

Optional. Enable detection of multi-language prompts and responses.

Returns
Type
Description
bool

Optional. Enable detection of multi-language prompts and responses.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: