Class Facet
Facet represents a sub element of a resource for filtering. The results from this method are used to populate the filterable facets in the UI.
Implements
Inherited Members
Namespace: Google.Apis.ThreatIntelligenceService.v1beta.Data
Assembly: Google.Apis.ThreatIntelligenceService.v1beta.dll
Syntax
public class Facet : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FacetCounts
List of counts for the facet (if categorical).
Declaration
[JsonProperty("facetCounts")]
public virtual IList<FacetCount> FacetCounts { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<FacetCount> |
FacetType
The type of the facet. Options include "string", "int", "float", "bool", "enum", "timestamp", "user" and are useful to show the right sort of UI controls when building a AIP-160 style filtering string.
Declaration
[JsonProperty("facetType")]
public virtual string FacetType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FacetValue
Name of the facet. This is also the string that needs to be used in the filtering expression.
Declaration
[JsonProperty("facet")]
public virtual string FacetValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MaxValue
Max value of the facet stringified based on type. Will be populated and formatted the same as min_value.
Declaration
[JsonProperty("maxValue")]
public virtual string MaxValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MinValue
Min value of the facet stringified based on type. This is only populated for facets that have a clear ordering, for types like enum it will be left empty. Timestamps will be formatted using RFC3339.
Declaration
[JsonProperty("minValue")]
public virtual string MinValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TotalCount
Total number of records that contain this facet with ANY value.
Declaration
[JsonProperty("totalCount")]
public virtual long? TotalCount { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |