Show / Hide Table of Contents

Class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSafetySpec

Safety specification. There are two use cases: 1. when only safety_spec.enable is set, the BLOCK_LOW_AND_ABOVE threshold will be applied for all categories. 2. when safety_spec.enable is set and some safety_settings are set, only specified safety_settings are applied.

Inheritance
object
GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSafetySpec
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSafetySpec : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Enable

Enable the safety filtering on the answer response. It is false by default.

Declaration
[JsonProperty("enable")]
public virtual bool? Enable { get; set; }
Property Value
Type Description
bool?

SafetySettings

Optional. Safety settings. This settings are effective only when the safety_spec.enable is true.

Declaration
[JsonProperty("safetySettings")]
public virtual IList<GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSafetySpecSafetySetting> SafetySettings { get; set; }
Property Value
Type Description
IList<GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSafetySpecSafetySetting>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX