1.0.0 (latest) 1.0.0-beta01

    public sealed class FacetGroup : IMessage<FacetGroup>, IEquatable<FacetGroup>, IDeepCloneable<FacetGroup>, IBufferMessage, IMessage

Reference documentation and code samples for the Vision AI v1 API class FacetGroup.

A group of facet buckets to be passed back and forth between backend \& frontend.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> FacetGroup

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[FacetGroup](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetGroup), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[FacetGroup](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetGroup), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[FacetGroup](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetGroup), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.VisionAI.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1)

## Assembly

Google.Cloud.VisionAI.V1.dll

## Constructors

### FacetGroup()

    public FacetGroup()

### FacetGroup(FacetGroup)

    public FacetGroup(FacetGroup other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetGroup` |

## Properties

### BucketType

    public FacetBucketType BucketType { get; set; }

Facet bucket type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetBucketType` |   |

### Buckets

    public RepeatedField<FacetBucket> Buckets { get; }

Buckets associated with the facet. E.g. for "Team" facet, the bucket can be 49ers, patriots, etc.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetBucket` |   |

### DisplayName

    public string DisplayName { get; set; }

Display name of the facet. To be used by UI for facet rendering.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### FacetId

    public string FacetId { get; set; }

Unique id of the facet group.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### FetchMatchedAnnotations

    public bool FetchMatchedAnnotations { get; set; }

If true, return query matched annotations for this facet group's selection. This option is only applicable for facets based on partition level annotations. It supports the following facet values:

- INTEGER
- STRING (DataSchema.SearchStrategy.EXACT_SEARCH only)

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |