Discovery Engine v1beta API - Class Assistant.Types.CustomerPolicy (1.0.0-beta24)

public sealed class Assistant.Types.CustomerPolicy : IMessage<Assistant.Types.CustomerPolicy>, IEquatable<Assistant.Types.CustomerPolicy>, IDeepCloneable<Assistant.Types.CustomerPolicy>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class Assistant.Types.CustomerPolicy.

Customer-defined policy for the assistant.

Inheritance

object > Assistant.Types.CustomerPolicy

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

CustomerPolicy()

public CustomerPolicy()

CustomerPolicy(CustomerPolicy)

public CustomerPolicy(Assistant.Types.CustomerPolicy other)
Parameter
Name Description
other AssistantTypesCustomerPolicy

Properties

BannedPhrases

public RepeatedField<Assistant.Types.CustomerPolicy.Types.BannedPhrase> BannedPhrases { get; }

Optional. List of banned phrases.

Property Value
Type Description
RepeatedFieldAssistantTypesCustomerPolicyTypesBannedPhrase

ModelArmorConfig

public Assistant.Types.CustomerPolicy.Types.ModelArmorConfig ModelArmorConfig { get; set; }

Optional. Model Armor configuration to be used for sanitizing user prompts and assistant responses.

Property Value
Type Description
AssistantTypesCustomerPolicyTypesModelArmorConfig