Class GoogleCloudDiscoveryengineV1alphaRequirement
A data requirement.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaRequirement : IDirectResponseSchema
Properties
Condition
The condition for evaluating the requirement result. Variables in the expression should be provided by
metrics_bindings or threshold_bindings. Where metrics_bindings are used for computed metrics and
threshold_bindings are used to define thresholds for corresponding metric_bindings.
Declaration
[JsonProperty("condition")]
public virtual GoogleTypeExpr Condition { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleTypeExpr |
Description
The description of the requirement.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
The name of the requirement.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MetricBindings
A list of the metric bindings to be used in condition.
Declaration
[JsonProperty("metricBindings")]
public virtual IList<GoogleCloudDiscoveryengineV1alphaRequirementMetricBinding> MetricBindings { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GoogleCloudDiscoveryengineV1alphaRequirementMetricBinding> |
Severity
The severity of errors if the requirement is not met. It must be ordered from the most strict to the least
strict. Examples: * BLOCKING * CRITICAL * WARNING All thresholds in the requirement must have all the
severity here.
Declaration
[JsonProperty("severity")]
public virtual IList<string> Severity { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
ThresholdBindings
A list of threshold bindings to be used in condition.
Declaration
[JsonProperty("thresholdBindings")]
public virtual IList<GoogleCloudDiscoveryengineV1alphaRequirementThresholdBinding> ThresholdBindings { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GoogleCloudDiscoveryengineV1alphaRequirementThresholdBinding> |
Type
The requirement type, used as an identifier. Must be unique. The type should prefix with service name to
avoid possible collision. It's encouraged to use natural hierarchical grouping for similar requirements.
Examples: * library.googleapis.com/books/min_available_books *
discoveryengine.googleapis.com/media_rec/recommended_for_you/conversion_rate
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ViolationSamplesBindings
A list of the metric bindings to be used in condition.
Declaration
[JsonProperty("violationSamplesBindings")]
public virtual IList<GoogleCloudDiscoveryengineV1alphaRequirementViolationSamplesBinding> ViolationSamplesBindings { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GoogleCloudDiscoveryengineV1alphaRequirementViolationSamplesBinding> |