public sealed class SanitizeModelResponseRequest : IMessage<SanitizeModelResponseRequest>, IEquatable<SanitizeModelResponseRequest>, IDeepCloneable<SanitizeModelResponseRequest>, IBufferMessage, IMessageReference documentation and code samples for the Model Armor v1beta API class SanitizeModelResponseRequest.
Sanitize Model Response request.
Implements
IMessageSanitizeModelResponseRequest, IEquatableSanitizeModelResponseRequest, IDeepCloneableSanitizeModelResponseRequest, IBufferMessage, IMessageNamespace
Google.Cloud.ModelArmor.V1BetaAssembly
Google.Cloud.ModelArmor.V1Beta.dll
Constructors
SanitizeModelResponseRequest()
public SanitizeModelResponseRequest()SanitizeModelResponseRequest(SanitizeModelResponseRequest)
public SanitizeModelResponseRequest(SanitizeModelResponseRequest other)| Parameter | |
|---|---|
| Name | Description | 
| other | SanitizeModelResponseRequest | 
Properties
ModelResponseData
public DataItem ModelResponseData { get; set; }Required. Model response data to sanitize.
| Property Value | |
|---|---|
| Type | Description | 
| DataItem | |
MultiLanguageDetectionMetadata
public MultiLanguageDetectionMetadata MultiLanguageDetectionMetadata { get; set; }Optional. Metadata related for multi language detection.
| Property Value | |
|---|---|
| Type | Description | 
| MultiLanguageDetectionMetadata | |
Name
public string Name { get; set; }Required. Represents resource name of template e.g. name=projects/sample-project/locations/us-central1/templates/templ01
| Property Value | |
|---|---|
| Type | Description | 
| string | |
TemplateName
public TemplateName TemplateName { get; set; }TemplateName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description | 
| TemplateName | |
UserPrompt
public string UserPrompt { get; set; }Optional. User Prompt associated with Model response.
| Property Value | |
|---|---|
| Type | Description | 
| string | |